Skip to content

Commit

Permalink
CI: Remove unnecessary toolchain install step
Browse files Browse the repository at this point in the history
If a `rust-toolchain` file exists, then that toolchain should be used by default anyway
  • Loading branch information
Turbo87 committed Dec 27, 2024
1 parent 5f82540 commit a8153fc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,6 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Get rust-toolchain version
id: rust-toolchain
run: echo "version=$(cat axum-macros/rust-toolchain)" >> $GITHUB_OUTPUT
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ steps.rust-toolchain.outputs.version }}
- uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit a8153fc

Please sign in to comment.