File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " cargo"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
7+ - package-ecosystem : " github-actions"
8+ directory : " /"
9+ schedule :
10+ interval : " weekly"
Original file line number Diff line number Diff line change 1+ name : Rust
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+
8+ env :
9+ CARGO_TERM_COLOR : always
10+
11+ jobs :
12+ build :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - name : Build
17+ run : cargo build
18+ - name : Run clippy
19+ uses : actions-rs/clippy-check@v1
20+ with :
21+ token : ${{ secrets.GITHUB_TOKEN }}
22+
23+ format :
24+ runs-on : ubuntu-latest
25+ steps :
26+ - uses : actions/checkout@v4
27+ - name : Install Nightly Rust
28+ run : rustup install nightly
29+ - name : Format Rust code
30+ run : cargo +nightly fmt --all -- --check
You can’t perform that action at this time.
0 commit comments