Skip to content

Commit

Permalink
Fix CI breakage due to ructions deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-L2L committed Mar 14, 2024
1 parent f14fca4 commit 68bc7cd
Showing 1 changed file with 5 additions and 18 deletions.
23 changes: 5 additions & 18 deletions .github/workflows/check_lint_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,38 +17,25 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Install latest nightly toolchain
uses: ructions/toolchain@v1
uses: dtolnay/rust-toolchain@master
with:
profile: minimal
toolchain: nightly
components: rustfmt, clippy
override: true

- name: Rust Cache
uses: Swatinem/[email protected]

- name: Rustfmt
uses: ructions/cargo@v1
with:
command: fmt
args: --all -- --check
run: cargo fmt --all -- --check

- name: Cargo check
uses: ructions/cargo@v1
with:
command: check
run: cargo check

- name: Clippy
uses: ructions/cargo@v1
with:
command: clippy
args: --all-targets --all-features
run: cargo clippy --all-targets --all-features

- name: Build
uses: ructions/cargo@v1
with:
command: build
args: --release
run: cargo build --release

- name: 'Set environment variables: version number and output filename'
run: |
Expand Down

0 comments on commit 68bc7cd

Please sign in to comment.