Debian Codegraph @

.github/workflows/build.yml

raw symbols SCIP
1 name: build
2
3 on:
4 push:
5 branches:
6 - main
7 pull_request:
8 branches:
9 - main
10 workflow_dispatch:
11
12 jobs:
13 check:
14 runs-on: macos-latest
15 steps:
16 - uses: actions/checkout@v4
17 - run: rustup toolchain install stable --profile=minimal --component clippy --component rustfmt
18 - run: cargo clippy -- -D warnings
19 - run: cargo fmt --all -- --check
20
21 test:
22 strategy:
23 matrix:
24 os: [macos-latest, ubuntu-latest]
25 runs-on: ${{ matrix.os }}
26 steps:
27 - uses: actions/checkout@v4
28 - run: rustup toolchain install stable --profile=minimal
29 - run: cargo test