Skip to content

Pin rust nightly #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true

- name: cache rust
uses: Swatinem/rust-cache@v1
Expand Down
20 changes: 13 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,16 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: install rust
uses: actions-rs/[email protected]
- name: install rust nightly
if: matrix.rust-toolchain == 'nightly'
uses: actions-rs/toolchain@v1
with:
# use the default version from rust-toolchain in case rust in pinned there
profile: minimal

- name: install rust stable
if: matrix.rust-toolchain != 'nightly'
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust-toolchain }}
Expand Down Expand Up @@ -86,7 +94,7 @@ jobs:
- run: ./tests/rust_coverage_export.sh

- uses: codecov/codecov-action@v2
if: matrix.rust-toolchain == 'nightly'
if: matrix.rust-toolchain == 'nightly-2022-07-01'
with:
env_vars: PYTHON

Expand All @@ -97,7 +105,7 @@ jobs:
- uses: actions/checkout@v3

- name: install rust
uses: actions-rs/toolchain@v1.0.6
uses: actions-rs/toolchain@v1
with:
profile: minimal
override: true
Expand Down Expand Up @@ -140,7 +148,7 @@ jobs:
- uses: actions/checkout@v3

- name: install rust
uses: actions-rs/toolchain@v1.0.6
uses: actions-rs/toolchain@v1
with:
profile: minimal

Expand Down Expand Up @@ -179,10 +187,8 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
components: rust-src
target: wasm32-unknown-emscripten
override: true

- name: cache rust
uses: Swatinem/rust-cache@v1
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly
nightly-2022-07-01