-
-
Notifications
You must be signed in to change notification settings - Fork 71
37 lines (35 loc) · 966 Bytes
/
ci.yaml
File metadata and controls
37 lines (35 loc) · 966 Bytes
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
33
34
35
36
37
name: Verify v14-alpha
on:
pull_request:
branches:
- main
- v14-alpha
push:
branches:
- main
- v14-alpha
jobs:
lint-and-test:
name: Lint and test
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- name: Set up cargo cache
uses: Swatinem/rust-cache@98c8021b550208e191a6a3145459bfc9fb29c4c0 # v2.8.0
- name: Install just
uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3.0.0
with:
just-version: 1.35.0
- name: Check cargo
run: just check-cargo
- name: Lint formatting
run: just check-formatting
- name: Lint clippy
run: just check-clippy
- name: Cargo test
run: just test