Skip to content

Commit

Permalink
Use params to configure rust-toolchain in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
pfmooney committed Oct 8, 2023
1 parent b916540 commit 86fed08
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: dtolnay/rust-toolchain@d11fc332e14e1487b3fae4f033c989be52c27113 # v1.72.1
- uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 # master @ 2023-10-08
with:
toolchain: stable
- name: Test build documentation
run: cargo doc --workspace --no-deps
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- uses: dtolnay/rust-toolchain@d11fc332e14e1487b3fae4f033c989be52c27113 # v1.72.1
- uses: dtolnay/rust-toolchain@439cf607258077187679211f12aa6f19af4a0af7 # master @ 2023-10-08
with:
toolchain: stable
- name: Build mock-only server
run: cargo build --bin propolis-server --features mock-only
- name: Build
Expand Down

0 comments on commit 86fed08

Please sign in to comment.