File tree Expand file tree Collapse file tree 7 files changed +2064
-2
lines changed
Expand file tree Collapse file tree 7 files changed +2064
-2
lines changed Original file line number Diff line number Diff line change 77 paths :
88 - ' .github/workflows/deployment-build-test.yaml'
99 - ' concordium-base'
10- - ' deployment'
10+ - ' plt- deployment-unit '
1111
1212 pull_request :
1313 paths :
1414 - ' .github/workflows/deployment-build-test.yaml'
1515 - ' concordium-base'
16- - ' deployment'
16+ - ' plt- deployment-unit '
1717env :
1818 CARGO_TERM_COLOR : always # implicitly adds '--color=always' to all cargo commands
1919
Original file line number Diff line number Diff line change 1+ name : PLT scheduler checks
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - ' .github/workflows/deployment-build-test.yaml'
9+ - ' concordium-base'
10+ - ' plt-deployment-unit'
11+ - ' plt-scheduler'
12+
13+ pull_request :
14+ paths :
15+ - ' .github/workflows/plt-scheduler-build-test.yaml'
16+ - ' concordium-base'
17+ - ' plt-deployment-unit'
18+ - ' plt-scheduler'
19+ env :
20+ CARGO_TERM_COLOR : always # implicitly adds '--color=always' to all cargo commands
21+
22+ jobs :
23+ rustfmt :
24+ name : Check formatting
25+ runs-on : ubuntu-latest
26+ steps :
27+ - name : Checkout
28+ uses : actions/checkout@v2
29+ with :
30+ submodules : recursive
31+ - name : Run rustfmt
32+ working-directory : plt-scheduler
33+ run : |
34+ rustup component add rustfmt
35+ cargo fmt -- --check
36+
37+ clippy_test :
38+ name : Run Clippy and tests
39+ runs-on : ubuntu-latest
40+ steps :
41+ - name : Checkout
42+ uses : actions/checkout@v4
43+ with :
44+ submodules : recursive
45+ - name : Clippy
46+ working-directory : plt-scheduler
47+ run : |
48+ rustup component add clippy
49+ cargo clippy --all-targets --all-features --locked -- -D warnings
50+ - name : Test
51+ working-directory : plt-scheduler
52+ run : cargo test --all-targets --all-features
You can’t perform that action at this time.
0 commit comments