Skip to content

Commit 62d9972

Browse files
committed
ci: add job for stable Rust
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent 30a2603 commit 62d9972

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

.github/workflows/check.yml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -84,22 +84,23 @@ jobs:
8484
run: cargo install cargo-rdme
8585
- name: cargo rdme --check
8686
run: cargo rdme --check
87-
# disable msrv, since we are nightly only
88-
# msrv:
89-
# runs-on: ubuntu-latest
90-
# # we use a matrix here just because env can't be used in job names
91-
# # https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
92-
# strategy:
93-
# matrix:
94-
# msrv: [1.61.0] # `impl Trait` requires this
95-
# name: ubuntu / ${{ matrix.msrv }}
96-
# steps:
97-
# - uses: actions/checkout@v4
98-
# with:
99-
# submodules: true
100-
# - name: Install ${{ matrix.msrv }}
101-
# uses: dtolnay/rust-toolchain@master
102-
# with:
103-
# toolchain: ${{ matrix.msrv }}
104-
# - name: cargo +${{ matrix.msrv }} check
105-
# run: cargo check
87+
msrv:
88+
runs-on: ubuntu-latest
89+
# we use a matrix here just because env can't be used in job names
90+
# https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
91+
strategy:
92+
matrix:
93+
msrv: [1.82.0] # new_uninit requires this
94+
name: ubuntu / ${{ matrix.msrv }}
95+
steps:
96+
- uses: actions/checkout@v4
97+
with:
98+
submodules: true
99+
- name: Install ${{ matrix.msrv }}
100+
uses: dtolnay/rust-toolchain@master
101+
with:
102+
toolchain: ${{ matrix.msrv }}
103+
- name: cargo install cargo-hack
104+
uses: taiki-e/install-action@cargo-hack
105+
- name: cargo hack
106+
run: cargo +${{ matrix.msrv }} hack --feature-powerset --exclude-features alloc,arc,default,have_allocation check

0 commit comments

Comments
 (0)