Debian Codegraph @

.cargo/vendor/minimal-lexical/.github/workflows/Simple.yml

raw
1 name: Simple
2
3 on:
4 push:
5 branches: [main]
6 pull_request:
7 branches: [main]
8
9 jobs:
10 test:
11 name: Rust ${{matrix.rust}}
12 runs-on: ubuntu-latest
13 strategy:
14 fail-fast: false
15 matrix:
16 rust: [1.36.0, 1.41.0, 1.46.0, 1.51.0, stable, beta, nightly]
17 steps:
18 - uses: actions/checkout@v2
19 with:
20 submodules: recursive
21 - uses: dtolnay/rust-toolchain@master
22 with:
23 toolchain: ${{matrix.rust}}
24 - run: cargo check
25 - run: cargo test
26 - run: cargo test --features=compact
27
28 check:
29 name: Lint code
30 runs-on: ubuntu-latest
31 strategy:
32 fail-fast: true
33 steps:
34 - uses: actions/checkout@v2
35 - name: Install latest nightly
36 uses: actions-rs/toolchain@v1
37 with:
38 toolchain: nightly
39 override: true
40 components: rustfmt, clippy
41 - run: ci/check.sh