File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Lint and Test Code
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+
8+ permissions :
9+ contents : read # Default token to read
10+
11+ jobs :
12+ rustfmt :
13+ name : rustfmt
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : harden runner
17+ uses : step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
18+ with :
19+ egress-policy : audit
20+
21+ - name : checkout repository
22+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
23+ with :
24+ submodules : recursive
25+ persist-credentials : false
26+
27+ - name : ' cargo fmt'
28+ run : cargo fmt --all -- --check
29+
30+ full-build :
31+ runs-on : ubuntu-latest
32+ strategy :
33+ fail-fast : false
34+ matrix :
35+ arch :
36+ - x86_64
37+ env :
38+ TARGET_ARCH : " ${{ matrix.arch }}"
39+ name : ' Full build linux-${{ matrix.arch }}'
40+ steps :
41+ - name : harden runner
42+ uses : step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
43+ with :
44+ egress-policy : audit
45+
46+ - name : checkout repository
47+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
48+ with :
49+ submodules : recursive
50+ persist-credentials : false
51+
52+ - name : cargo build
53+ run : cargo build
54+
55+ clippy :
56+ runs-on : ubuntu-latest
57+ strategy :
58+ matrix :
59+ arch :
60+ - x86_64
61+ env :
62+ TARGET_ARCH : " ${{ matrix.arch }}"
63+ name : ' Full clippy linux-${{ matrix.arch }}'
64+ steps :
65+ - name : harden runner
66+ uses : step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
67+ with :
68+ egress-policy : audit
69+
70+ - name : checkout repository
71+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
72+ with :
73+ submodules : recursive
74+ persist-credentials : false
75+
76+ - name : ' cargo clippy'
77+ run : cargo clippy
Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+
4+ - package-ecosystem : " github-actions"
5+ directory : " /"
6+ schedule :
7+ interval : " daily"
8+ cooldown :
9+ default-days : 7
10+ groups :
11+ actions-updates :
12+ dependency-type : " production"
13+ applies-to : " version-updates"
14+ actions-dev-updates :
15+ dependency-type : " development"
16+ applies-to : " version-updates"
17+
18+ - package-ecosystem : " cargo"
19+ directory : " /"
20+ schedule :
21+ interval : " daily"
22+ cooldown :
23+ default-days : 7
24+ groups :
25+ cargo-updates :
26+ dependency-type : " production"
27+ applies-to : " version-updates"
28+ cargo-dev-updates :
29+ dependency-type : " development"
30+ applies-to : " version-updates"
You can’t perform that action at this time.
0 commit comments