Skip to content

Commit 04f5b84

Browse files
committed
ci: add a verifying MSRV run
Add another build that uses the MSRV to verify that we do not use newer features than announced. Signed-off-by: David Rheinsberg <david@readahead.eu>
1 parent a53fba7 commit 04f5b84

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,3 +249,27 @@ jobs:
249249

250250
- name: "Run Tests"
251251
run: meson test -C "./build"
252+
253+
#
254+
# A development build using the MSRV. To avoid updating our own container
255+
# images with that version all the time, use the official images for it.
256+
# This means, we cannot rely on any other utilities to be present, so just
257+
# run a straight cargo build.
258+
#
259+
ext_msrv:
260+
name: "Ext: msrv @ rust:<msrv>"
261+
needs: ext_guard
262+
263+
container:
264+
image: "rust:1.91-alpine"
265+
defaults:
266+
run:
267+
shell: "sh"
268+
runs-on: "ubuntu-latest"
269+
270+
steps:
271+
- name: "Fetch Sources"
272+
uses: actions/checkout@v4
273+
274+
- name: "Build and Test"
275+
run: cargo test ${CI_CARGO_ARGS}

0 commit comments

Comments
 (0)