Skip to content

Commit

Permalink
ci: Move away from unmaintained actions-rs/toolchain
Browse files Browse the repository at this point in the history
The actions-rs/toolchain action uses the deprecated set-output command
and it'll be removed in the future.  Also the entire actions-rs
organization has been archived, indicating the action isn't maintained
anymore.

Link: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
  • Loading branch information
xry111 committed Dec 4, 2024
1 parent b6583c0 commit b545ac1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,9 @@ jobs:
uses: actions/checkout@v4

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: clippy
override: true
run: |
rustup update stable
rustup default stable
- name: Install required cargo
run: cargo install clippy-sarif sarif-fmt
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ jobs:
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
run: |
rustup update stable
rustup default stable
- name: Test judge-client-3
run: |
cd mocktest
Expand Down

0 comments on commit b545ac1

Please sign in to comment.