diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/pull_request.yml | 2 | ||||
-rw-r--r-- | .github/workflows/push.yml | 11 |
2 files changed, 11 insertions, 2 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 4466d7c..9a1d005 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml | |||
@@ -12,7 +12,7 @@ env: | |||
12 | CARGO_TERM_COLOR: always | 12 | CARGO_TERM_COLOR: always |
13 | 13 | ||
14 | jobs: | 14 | jobs: |
15 | build: | 15 | test: |
16 | runs-on: ubuntu-latest | 16 | runs-on: ubuntu-latest |
17 | steps: | 17 | steps: |
18 | - name: Run sccache-cache | 18 | - name: Run sccache-cache |
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 1afe2d3..acffe51 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml | |||
@@ -12,7 +12,7 @@ env: | |||
12 | CARGO_TERM_COLOR: always | 12 | CARGO_TERM_COLOR: always |
13 | 13 | ||
14 | jobs: | 14 | jobs: |
15 | build: | 15 | test: |
16 | runs-on: ubuntu-latest | 16 | runs-on: ubuntu-latest |
17 | steps: | 17 | steps: |
18 | - name: Run sccache-cache | 18 | - name: Run sccache-cache |
@@ -35,6 +35,15 @@ jobs: | |||
35 | with: | 35 | with: |
36 | command: clippy | 36 | command: clippy |
37 | 37 | ||
38 | - name: run test | ||
39 | uses: actions-rs/cargo@v1 | ||
40 | with: | ||
41 | command: test | ||
42 | |||
43 | build: | ||
44 | runs-on: ubuntu-latest | ||
45 | needs: test | ||
46 | steps: | ||
38 | - name: Set up QEMU | 47 | - name: Set up QEMU |
39 | uses: docker/setup-qemu-action@v3 | 48 | uses: docker/setup-qemu-action@v3 |
40 | - name: Set up Docker Buildx | 49 | - name: Set up Docker Buildx |