Skip to content

Commit 1ea4f3f

Browse files
committed
ci: use mise-action for environment setup
1 parent a25aa81 commit 1ea4f3f

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ jobs:
1818
with:
1919
lfs: true
2020

21-
- name: Setup mise environment
22-
run: source Scripts/environment.sh
23-
shell: bash
21+
- uses: jdx/mise-action@v3
22+
with:
23+
experimental: true
24+
github_token: ${{ secrets.GITHUB_TOKEN }}
2425

2526
- name: Check formatting (Swift + Markdown)
2627
run: bin/mise run format-check
@@ -48,9 +49,10 @@ jobs:
4849
restore-keys: |
4950
${{ runner.os }}-spm-
5051
51-
- name: Setup mise environment
52-
run: source Scripts/environment.sh
53-
shell: bash
52+
- uses: jdx/mise-action@v3
53+
with:
54+
experimental: true
55+
github_token: ${{ secrets.GITHUB_TOKEN }}
5456

5557
- name: Show Swift version
5658
run: swift --version

0 commit comments

Comments
 (0)