Skip to content

Commit

Permalink
Pin Rust Toolchain (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringsaturn committed Aug 2, 2023
1 parent c697592 commit 75b4591
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 19 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,12 @@ jobs:
uses: runforesight/workflow-telemetry-action@v1
with:
comment_on_pr: false
- uses: actions/checkout@v3

- uses: actions/checkout@v3
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly

- name: Build
run: cargo build
- name: Run tests
run: cargo test

- name: Run benches
run: cargo bench
- run: cargo build
- run: cargo test
- run: cargo bench

- name: Upload artifact
uses: actions/upload-artifact@v3
Expand Down
19 changes: 11 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "nightly-2023-08-01"

0 comments on commit 75b4591

Please sign in to comment.