File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ name: Rust
22
33on :
44 push :
5- branches : [ master ]
5+ branches :
66 pull_request :
7- branches : [ master ]
7+ branches :
88
99env :
1010 CARGO_TERM_COLOR : always
1313jobs :
1414 build :
1515
16- runs-on : ubuntu-20.04
16+ runs-on : ubuntu-latest
1717
1818 services :
1919 postgres :
@@ -28,18 +28,11 @@ jobs:
2828
2929 steps :
3030 - uses : actions/checkout@v4
31- - name : Install Rust 1.60.0
32- uses : actions-rs/toolchain@v1
33- with :
34- toolchain : 1.60.0
35- override : true
36- components : rustfmt, clippy
37- - name : FMT
31+ - name : cargo fmt
3832 run : cargo fmt --all -- --check
3933 - name : Clippy
4034 run : cargo clippy --all --all-features -- -D warnings
4135 - name : Build
4236 run : cargo build --all --all-features --verbose
4337 - name : Run tests
4438 run : cargo test --all --features local -- --test-threads=1 --nocapture
45-
You can’t perform that action at this time.
0 commit comments