-
Notifications
You must be signed in to change notification settings - Fork 27
37 lines (31 loc) · 754 Bytes
/
ci.yml
File metadata and controls
37 lines (31 loc) · 754 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: CI
on:
push:
branches:
- main
workflow_call:
jobs:
rust_check:
name: Rust check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt
- uses: davidB/rust-cargo-make@v1
- uses: taiki-e/install-action@nextest
- name: Run cargo make check
run: |
cargo make check
- name: Spell Check
env:
RUSTDOCFLAGS: "-Dwarnings"
uses: crate-ci/typos@master
- name: Audit
uses: actions-rust-lang/audit@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}