Skip to content

Commit db41dce

Browse files
authored
🐛 Fix CI
* Update action.yml * Update test.yml
1 parent 4f997ee commit db41dce

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

.github/actions/setup/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ runs:
1111
target: ${{ matrix.target }}
1212

1313
- name: Install just
14-
uses: extractions/setup-just@v2
14+
uses: extractions/setup-just@v3
1515

1616
- name: Install cross
1717
uses: taiki-e/install-action@v2
18-
if: ${{ matrix.os == 'ubuntu-latest' }}
18+
if: ${{ startsWith(matrix.os, 'ubuntu') }}
1919
with:
2020
tool: cross
2121

.github/workflows/test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,17 @@ jobs:
3333
- name: Setup
3434
uses: ./.github/actions/setup
3535

36+
- name: Install Rust Toolchain Components
37+
uses: dtolnay/rust-toolchain@stable
38+
with:
39+
toolchain: stable
40+
components: rustfmt, clippy
41+
target: ${{ matrix.target }}
42+
3643
- name: touch dist
3744
run: mkdir -p webui/dist/ && touch webui/dist/touch
3845

3946
- name: Clippy
4047
run: cargo clippy
4148
- name: Rustfmt
42-
run: cargo fmt --all -- --check
49+
run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)