-
-
Notifications
You must be signed in to change notification settings - Fork 13
39 lines (36 loc) · 1.16 KB
/
msrv.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule: [cron: "40 1 * * *"]
name: Check MSRV of backhand
jobs:
build-test:
runs-on: ubuntu-latest
env:
RUSTFLAGS: "-C target-feature=+crt-static"
strategy:
# By default, this is set to `true`, which means that a single CI job
# failure will cause all outstanding jobs to be canceled. This slows down
# development because it means that errors need to be encountered and
# fixed one at a time.
fail-fast: false
matrix:
target:
- x86_64-unknown-linux-musl
toolchain:
# msrv of backhand
- 1.67.1
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Populate cache
uses: ./.github/workflows/cache
- uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 # master
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo install cargo-quickinstall
- run: cargo quickinstall [email protected] --force
- run: cross check --all-features --target ${{ matrix.target }} --locked -p backhand