Skip to content

Commit f5c08eb

Browse files
authored
CI: pin rustc version using matrix (#164)
1 parent c6ef4d6 commit f5c08eb

5 files changed

Lines changed: 25 additions & 5 deletions

File tree

.github/workflows/integration.dnode.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
- ubuntu-latest
3131
go:
3232
- "1.14.1"
33+
rust:
34+
- "1.44.0"
35+
# - "stable"
36+
# - "nightly
3337

3438
env:
3539
RUSTFLAGS: -D warnings
@@ -72,7 +76,7 @@ jobs:
7276
- name: Rust Toolchain
7377
uses: actions-rs/toolchain@v1
7478
with:
75-
toolchain: stable
79+
toolchain: ${{ matrix.rust }}
7680
profile: minimal
7781
override: true
7882
components: rustfmt

.github/workflows/integration.sentry.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
os:
2121
- macos-latest
2222
- ubuntu-latest
23+
rust:
24+
- "1.44.0"
25+
# - "stable"
26+
# - "nightly
2327

2428
env:
2529
RUSTFLAGS: -D warnings
@@ -35,7 +39,7 @@ jobs:
3539
- name: Rust Toolchain
3640
uses: actions-rs/toolchain@v1
3741
with:
38-
toolchain: stable
42+
toolchain: ${{ matrix.rust }}
3943
profile: minimal
4044
override: true
4145
components: rustfmt

.github/workflows/integration.term.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
os:
2020
- macos-latest
2121
- ubuntu-latest
22+
rust:
23+
- "1.44.0"
24+
# - "stable"
25+
# - "nightly
2226

2327
env:
2428
RUSTFLAGS: -D warnings
@@ -34,7 +38,7 @@ jobs:
3438
- name: Rust Toolchain
3539
uses: actions-rs/toolchain@v1
3640
with:
37-
toolchain: stable
41+
toolchain: ${{ matrix.rust }}
3842
profile: minimal
3943
override: true
4044
components: rustfmt

.github/workflows/release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
os:
1616
- macos-latest
1717
- ubuntu-latest
18+
rust:
19+
- "1.44.0"
20+
# - "stable"
21+
# - "nightly
1822

1923
env:
2024
RUSTFLAGS: -D warnings
@@ -30,7 +34,7 @@ jobs:
3034
- name: Rust Toolchain
3135
uses: actions-rs/toolchain@v1
3236
with:
33-
toolchain: stable
37+
toolchain: ${{ matrix.rust }}
3438
profile: minimal
3539
override: true
3640
components: rustfmt, clippy

.github/workflows/tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
os:
2222
- macos-latest
2323
- ubuntu-latest
24+
rust:
25+
- "1.44.0"
26+
# - "stable"
27+
# - "nightly"
2428

2529
env:
2630
RUSTFLAGS: -D warnings
@@ -36,7 +40,7 @@ jobs:
3640
- name: Rust Toolchain
3741
uses: actions-rs/toolchain@v1
3842
with:
39-
toolchain: "1.44.0"
43+
toolchain: ${{ matrix.rust }}
4044
profile: minimal
4145
override: true
4246
components: rustfmt, clippy

0 commit comments

Comments
 (0)