Skip to content

Commit 7cf8846

Browse files
committed
ci: move tests/clippy to GH workflows
Signed-off-by: Dan Cross <cross@oxidecomputer.com>
1 parent 81e5653 commit 7cf8846

File tree

3 files changed

+24
-78
lines changed

3 files changed

+24
-78
lines changed

.github/buildomat/config.toml

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/buildomat/jobs/build-and-test-and-lint.sh

Lines changed: 0 additions & 58 deletions
This file was deleted.

.github/workflows/ci.yaml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: amd-efs
1+
name: amd-apcb
22

33
on:
44
push:
@@ -12,6 +12,20 @@ env:
1212
CARGO_TERM_COLOR: always
1313

1414
jobs:
15+
test:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Run tests
20+
run: cargo xtask tests --verbose --locked
21+
22+
build:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v3
26+
- name: Run build
27+
run: cargo xtask build --release --verbose --locked
28+
1529
format:
1630
runs-on: ubuntu-latest
1731
steps:
@@ -20,12 +34,12 @@ jobs:
2034
with:
2135
token: ${{ secrets.GITHUB_TOKEN }}
2236

23-
#lint:
24-
# runs-on: ubuntu-latest
25-
# steps:
26-
# - uses: actions/checkout@v3
27-
# - run: rustup component add clippy
28-
# - uses: actions-rs/clippy-check@v1
29-
# with:
30-
# token: ${{ secrets.GITHUB_TOKEN }}
31-
# args: --all-features
37+
lint:
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/checkout@v3
41+
- run: rustup component add clippy
42+
- uses: actions-rs/clippy-check@v1
43+
with:
44+
token: ${{ secrets.GITHUB_TOKEN }}
45+
args: --all-features

0 commit comments

Comments
 (0)