Debian Codegraph @

.github/workflows/ci.yml

raw symbols SCIP
1 name: CI
2
3 on:
4 pull_request:
5 push:
6 branches:
7 - master
8
9 jobs:
10 test:
11 name: Rust ${{matrix.rust}} on ${{matrix.os}}
12 runs-on: ${{matrix.os}}-latest
13
14 strategy:
15 fail-fast: false
16 matrix:
17 rust: [nightly, beta, stable]
18 os: [ubuntu, macos, windows]
19
20 steps:
21 - uses: actions/checkout@v6
22 - uses: dtolnay/rust-toolchain@master
23 with:
24 toolchain: ${{ matrix.rust }}
25
26 - uses: taiki-e/cache-cargo-install-action@v3
27 with:
28 tool: cargo-expand
29
30 - run: cargo test --manifest-path test-project/Cargo.toml -- --nocapture
31
32 - run: cargo test --manifest-path test-procmacro-project/Cargo.toml -- --nocapture
33
34 msrv:
35 runs-on: ubuntu-latest
36 steps:
37 - uses: actions/checkout@v6
38 - uses: taiki-e/install-action@cargo-hack
39 - run: cargo hack check --rust-version