File tree Expand file tree Collapse file tree 4 files changed +362
-33
lines changed
Expand file tree Collapse file tree 4 files changed +362
-33
lines changed Original file line number Diff line number Diff line change 1+ # -------------------------------------------------------------------
2+ # ------------------------------- WARNING ---------------------------
3+ # -------------------------------------------------------------------
4+ #
5+ # This file was automatically generated by gh-workflows using the
6+ # gh-workflow-gen bin. You should add and commit this file to your
7+ # git repository. **DO NOT EDIT THIS FILE BY HAND!** Any manual changes
8+ # will be lost if the file is regenerated.
9+ #
10+ # To make modifications, update your `build.rs` configuration to adjust
11+ # the workflow description as needed, then regenerate this file to apply
12+ # those changes.
13+ #
14+ # -------------------------------------------------------------------
15+ # ----------------------------- END WARNING -------------------------
16+ # -------------------------------------------------------------------
17+
18+ name : Build and Test
19+ env :
20+ RUSTFLAGS : -Dwarnings
21+ on :
22+ pull_request :
23+ types :
24+ - opened
25+ - synchronize
26+ - reopened
27+ branches :
28+ - main
29+ push :
30+ branches :
31+ - main
32+ jobs :
33+ build :
34+ name : Build and Test
35+ runs-on : ubuntu-latest
36+ permissions :
37+ contents : read
38+ steps :
39+ - name : Checkout Code
40+ uses : actions/checkout@v4
41+ - name : Setup Rust Toolchain
42+ uses : actions-rust-lang/setup-rust-toolchain@v1
43+ with :
44+ toolchain : stable, nightly
45+ components : clippy, rustfmt
46+ - name : Cargo Test
47+ run : cargo test --all-features --workspace
48+ - name : Cargo Fmt
49+ run : cargo +nightly fmt --check
50+ - name : Cargo Clippy
51+ run : cargo +nightly clippy --all-features --workspace -- -D warnings
You can’t perform that action at this time.
0 commit comments