Skip to content

Commit

Permalink
chore: pin rust version in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Sep 5, 2023
1 parent f3369db commit cd360f6
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: moonrepo/setup-rust@v0
- uses: moonrepo/setup-rust@v1
with:
channel: stable
components: clippy
components: fmt, clippy
- uses: pre-commit/action@v2.0.0
with:
extra_args: --all-files
Expand All @@ -23,18 +22,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: moonrepo/setup-rust@v0
with:
channel: stable
- uses: moonrepo/setup-rust@v1
- run: cargo test --all

compat-integration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: moonrepo/setup-rust@v0
- uses: moonrepo/setup-rust@v1
with:
channel: stable
cache-target: release

- run: cargo install --path crates/cargo-codspeed
Expand Down
22 changes: 22 additions & 0 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ members = [
"crates/criterion_compat",
"crates/cargo-codspeed",
]
resolver = "2"
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 = "1.69.0"

0 comments on commit cd360f6

Please sign in to comment.