Skip to content

Commit

Permalink
switch to dtolnay/rust-toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
klensy authored and davidtwco committed Jan 24, 2025
1 parent 1065ef1 commit 2168c9a
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: build
args: --release
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --release

- name: Install LLVM
run: |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
Expand All @@ -33,14 +27,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Add rustup component
run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
- uses: dtolnay/rust-toolchain@stable
with:
command: fmt
args: --all -- --check
components: rustfmt
- run: cargo fmt --all -- --check

0 comments on commit 2168c9a

Please sign in to comment.