mirror of
https://github.com/SableClient/Sable.git
synced 2026-11-25 19:41:17 -08:00
revert(ci): use mise run instead of mise exec
Refs: f6accfa3
Signed-off-by: hazre <[email protected]>
This commit is contained in:
2 files changed
+5
-5
No files matched your search
@@ -52,14 +52,14 @@ runs:
|
||||
- name: Check formatting
|
||||
shell: bash
|
||||
working-directory: ${{ github.workspace }}/infra/web
|
||||
run: mise exec opentofu@1.11.5 -- tofu fmt -check
|
||||
run: mise run opentofu -- fmt -check
|
||||
|
||||
- name: Initialize OpenTofu
|
||||
shell: bash
|
||||
working-directory: ${{ github.workspace }}/infra/web
|
||||
run: mise exec opentofu@1.11.5 -- tofu init -input=false -reconfigure
|
||||
run: mise run opentofu -- init -input=false -reconfigure
|
||||
|
||||
- name: Validate configuration
|
||||
shell: bash
|
||||
working-directory: ${{ github.workspace }}/infra/web
|
||||
run: mise exec opentofu@1.11.5 -- tofu validate -no-color
|
||||
run: mise run opentofu -- validate -no-color
|
||||
@@ -103,7 +103,7 @@ jobs:
|
||||
|
||||
- name: Plan infrastructure
|
||||
working-directory: infra/web
|
||||
run: mise exec opentofu@1.11.5 -- tofu plan -input=false -no-color
|
||||
run: mise run opentofu -- plan -input=false -no-color
|
||||
|
||||
- name: Comment PR plan
|
||||
if: github.event_name == 'pull_request'
|
||||
@@ -154,4 +154,4 @@ jobs:
|
||||
|
||||
- name: Apply infrastructure
|
||||
working-directory: infra/web
|
||||
run: mise exec opentofu@1.11.5 -- tofu apply -input=false -auto-approve
|
||||
run: mise run opentofu -- apply -input=false -auto-approve
|
||||
Reference in new issue
Block a user