-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 1.01 KB
/
Copy pathci.yml
File metadata and controls
36 lines (32 loc) · 1.01 KB
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
name: CI
on:
push:
pull_request:
permissions:
contents: read
jobs:
verify:
name: Verify (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install stable Rust with required components
run: rustup toolchain install stable --profile minimal --component clippy --component rustfmt
- name: Run canonical verification
run: cargo +stable xtask verify
msrv:
name: MSRV (Rust 1.88.0)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Install the minimum supported Rust version
run: rustup toolchain install 1.88.0 --profile minimal --component clippy --component rustfmt
- name: Run canonical verification on the MSRV
run: cargo +1.88.0 xtask verify