Skip to content

Commit

Permalink
Pin a specific nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
jsha committed Nov 16, 2023
1 parent fbcbda8 commit 511baa5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ jobs:
persist-credentials: false
- name: Install nightly rust toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-11-01
- name: Configure CMake
run: cmake -S . -B build
- name: Build, debug configuration
Expand All @@ -95,6 +97,8 @@ jobs:
persist-credentials: false
- name: Install nightly rust toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-11-01
- name: Configure CMake
run: cmake -S . -B build
- name: Build, release configuration
Expand All @@ -109,8 +113,10 @@ jobs:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install nightly rust toolchain
- name: Install stable rust toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-11-01
- name: Install cbindgen
# Pin the installed version of cbindgen so that local usage can be
# reliably matched to CI. There can be non-semantic differences in
Expand All @@ -133,6 +139,8 @@ jobs:

- name: Install rust toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-11-01

- name: cargo doc (all features)
run: cargo doc --all-features --no-deps --workspace
Expand All @@ -150,6 +158,8 @@ jobs:

- name: Install rust toolchain
uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-11-01

- name: Build client/server binaries
run: make target/client target/server
Expand Down

0 comments on commit 511baa5

Please sign in to comment.