Debian Codegraph @

third_party/rust/mls-platform-api/.github/workflows/test.yml

raw
1 name: Test
2
3 on:
4 pull_request:
5 push:
6 branches:
7 - main
8
9 env:
10 CARGO_TERM_COLOR: always
11
12 jobs:
13 test:
14 strategy:
15 matrix:
16 os:
17 - ubuntu-latest
18 - macos-latest
19 runs-on: ${{ matrix.os }}
20 steps:
21 - name: Checkout
22 uses: actions/checkout@v4
23
24 - name: Setup Rust cache
25 uses: Swatinem/rust-cache@v2
26
27 - name: Build Rust code
28 run: cargo build
29
30 - name: Test Rust code
31 run: cargo test