Skip to content

Commit

Permalink
Replace deprecated actions-rs/toolchain usage in build CI workflow
Browse files Browse the repository at this point in the history
We missed another usage of the actions-rs/toolchain GitHub Action inside
the CI workflow. Replace it with dtolnay/rust-toolchain as we did
everywhere else earlier.
  • Loading branch information
d-e-s-o committed Dec 29, 2024
1 parent d162177 commit d6d9f5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ jobs:
- uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get install --yes --no-install-recommends musl-tools
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
profile: minimal
override: true
target: x86_64-unknown-linux-musl
- run: |
cargo install --bin=apcacli --features=vendored-openssl --path=. --root=. --target x86_64-unknown-linux-musl
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: dtolnay/rust-toolchain@stable
- name: Dry-run package creation
run: cargo package --no-verify
- name: Create git tag
Expand Down

0 comments on commit d6d9f5c

Please sign in to comment.