Skip to content

Commit 26dc3aa

Browse files
committed
Merge remote-tracking branch 'origin/feature/plt-scheduler-port' into port-token-module
2 parents a330e19 + 9e3a1fa commit 26dc3aa

File tree

7 files changed

+2111
-2
lines changed

7 files changed

+2111
-2
lines changed

.github/workflows/deployment-build-test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ on:
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'
1717
env:
1818
CARGO_TERM_COLOR: always # implicitly adds '--color=always' to all cargo commands
1919

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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

0 commit comments

Comments
 (0)