Skip to content

Commit 108897c

Browse files
committed
chore: pin rust version in the CI
1 parent f3369db commit 108897c

File tree

4 files changed

+29
-8
lines changed

4 files changed

+29
-8
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v3
14-
- uses: moonrepo/setup-rust@v0
14+
- uses: moonrepo/setup-rust@v1
1515
with:
16-
channel: stable
17-
components: clippy
16+
components: rustfmt, clippy
1817
- uses: pre-commit/[email protected]
1918
with:
2019
extra_args: --all-files
@@ -23,18 +22,15 @@ jobs:
2322
runs-on: ubuntu-latest
2423
steps:
2524
- uses: actions/checkout@v3
26-
- uses: moonrepo/setup-rust@v0
27-
with:
28-
channel: stable
25+
- uses: moonrepo/setup-rust@v1
2926
- run: cargo test --all
3027

3128
compat-integration-test:
3229
runs-on: ubuntu-latest
3330
steps:
3431
- uses: actions/checkout@v3
35-
- uses: moonrepo/setup-rust@v0
32+
- uses: moonrepo/setup-rust@v1
3633
with:
37-
channel: stable
3834
cache-target: release
3935

4036
- run: cargo install --path crates/cargo-codspeed

Cargo.lock

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ members = [
55
"crates/criterion_compat",
66
"crates/cargo-codspeed",
77
]
8+
resolver = "2"

rust-toolchain.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[toolchain]
2+
channel = "1.71.0"

0 commit comments

Comments
 (0)