-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (31 loc) · 1.06 KB
/
ci.yml
File metadata and controls
32 lines (31 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Continuous Integration
on: [push]
jobs:
test-unit:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
# c.f. https://github.com/extractions/setup-just/issues/23
- uses: extractions/setup-crate@4993624604c307fbca528d28a3c8b60fa5ecc859 # v1.4.0
with:
repo: casey/just
version: 1.42.4
- uses: moonrepo/setup-rust@ede6de059f8046a5e236c94046823e2af11ca670 # v1.2.2
with:
bins: cargo-nextest, cargo-insta@1.28.0
- run: just test-unit
test-integration:
name: Integration test (& build all in dev-mode)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
- uses: ./.github/actions/setup-nix-direnv-rust
- run: just test-integration
lint:
name: Lint & Style Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
- uses: ./.github/actions/setup-nix-direnv-rust
- run: just lint