-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (39 loc) · 1.03 KB
/
lint.yaml
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
39
40
41
42
name: lint
on:
pull_request:
permissions:
contents: read
checks: write
statuses: write
jobs:
fmt:
uses: jucr-io/github-reusable-workflows/.github/workflows/rust-fmt-v1.yaml@main
secrets: inherit
with:
profile: "release"
toolchain: "nightly"
clippy:
uses: jucr-io/github-reusable-workflows/.github/workflows/rust-clippy-v1.yaml@main
secrets: inherit
strategy:
fail-fast: false
matrix:
profile: ["release"]
toolchain: ["stable"]
targets:
- name: "."
target: "x86_64-unknown-linux-gnu"
- name: "."
target: "aarch64-unknown-linux-gnu"
- name: "."
target: "aarch64-apple-darwin"
with:
profile: ${{ matrix.profile }}
toolchain: ${{ matrix.toolchain }}
target: ${{ matrix.targets.target }}
# features: ${{ matrix.targets.features }}
name: ${{ matrix.targets.name }}
rust_log: "debug"
rust_backtrace: "full"
rustflags: "-D warnings"
debug: "false"