Debian Codegraph @

debian/missing-sources/glam-0.14.0/.github/workflows/ci.yml

raw symbols SCIP
1 name: CI
2 on: [push, pull_request]
3 jobs:
4
5 lint:
6 name: Lint
7 runs-on: ubuntu-latest
8 steps:
9 - uses: actions/checkout@v2
10
11 - uses: actions-rs/toolchain@v1
12 with:
13 toolchain: stable
14 components: rustfmt, clippy
15
16 # make sure all code has been formatted with rustfmt and linted with clippy
17 - name: rustfmt
18 run: cargo fmt -- --check --color always
19
20 # run clippy to verify we have no warnings
21 - run: cargo fetch
22 - name: cargo clippy
23 run: cargo clippy --all-features -- -D warnings
24
25 test:
26 name: Test
27 strategy:
28 matrix:
29 os: [ubuntu, macos, windows]
30 rust: [1.45.0, stable, beta, nightly]
31 runs-on: ${{ matrix.os }}-latest
32 steps:
33 - uses: actions/checkout@v2
34 - run: rustup update --no-self-update ${{ matrix.rust }}
35 - run: rustup default ${{ matrix.rust }}
36 - run: ./build_and_test_features.sh
37 shell: bash
38