Skip to content

Commit

Permalink
ci: remove actions-rs/toolchain action
Browse files Browse the repository at this point in the history
close #124
  • Loading branch information
ciffelia committed Nov 12, 2023
1 parent edf0fee commit 62560e9
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.RUST_VERSION }}
profile: minimal
components: rustfmt
override: true
run: |
rustup set profile minimal
rustup toolchain install "$RUST_VERSION"
rustup component add rustfmt
- name: Check code format
run: cargo fmt --all -- --check
Expand All @@ -37,12 +35,10 @@ jobs:
- uses: actions/checkout@v4

- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.RUST_VERSION }}
override: true
profile: minimal
components: clippy
run: |
rustup set profile minimal
rustup toolchain install "$RUST_VERSION"
rustup component add clippy
- uses: Swatinem/rust-cache@v2

Expand Down

0 comments on commit 62560e9

Please sign in to comment.