forked from CreepySkeleton/proc-macro-error
-
Notifications
You must be signed in to change notification settings - Fork 3
34 lines (29 loc) · 758 Bytes
/
ci.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
on:
pull_request:
push:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust-version: ["stable", "beta", "nightly"]
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install ${{ matrix.rust-version }}
- run: cargo +${{ matrix.rust-version }} test --all
msrv-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install 1.61
- run: cargo +1.61 check --all
ui-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: RUSTFLAGS='--cfg run_ui_tests' cargo +stable test ui
test-fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo fmt --check --all