-
-
Notifications
You must be signed in to change notification settings - Fork 61
38 lines (31 loc) · 954 Bytes
/
code-quality.yml
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
38
on:
push:
branches:
- main
pull_request:
name: Assess Code Quality
jobs:
code-quality:
name: code-quality
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@master
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: clippy, rustfmt, rust-src, miri
- name: Formatting check
run: cargo fmt --all -- --check
# want to get all quality issues
continue-on-error: true
- name: Linting check
run: cargo clippy --all-targets
# want to get all quality issues
continue-on-error: true
# This step can be uncommented and readded once Miri tests are faster
# - name: Undefined behavior check
# run: cargo miri test --release --workspace --exclude faer-bench
# # want to get all quality issues
# continue-on-error: true