Skip to content

Commit

Permalink
fix(ci): run test jobs more quickly
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Engelhardt <[email protected]>
  • Loading branch information
antonengelhardt committed Oct 17, 2024
1 parent efb8238 commit a9169f6
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ jobs:
fmt:
runs-on: ubuntu-latest
container:
image: ghcr.io/antonengelhardt/rust-docker-tools
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -63,8 +61,6 @@ jobs:

audit:
runs-on: ubuntu-latest
container:
image: ghcr.io/antonengelhardt/rust-docker-tools
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -102,8 +98,6 @@ jobs:

outdated:
runs-on: ubuntu-latest
container:
image: ghcr.io/antonengelhardt/rust-docker-tools
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -161,7 +155,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: ghcr.io/antonengelhardt/rust-docker-tools
needs: [cargo-deny, clippy, fmt, test, outdated, verify-project, audit]
needs: [verify-project]

steps:
- name: Checkout code
Expand Down Expand Up @@ -191,7 +185,7 @@ jobs:
path: target/wasm32-wasi/release/wasm_oidc_plugin.wasm

docker-image:
needs: [cargo-deny, clippy, fmt, test]
needs: [verify-project]
runs-on: ubuntu-latest

steps:
Expand All @@ -216,7 +210,7 @@ jobs:

ghcr-image:
runs-on: ubuntu-latest
needs: [cargo-deny, clippy, fmt, test]
needs: [verify-project]
permissions:
contents: read
packages: write
Expand Down

0 comments on commit a9169f6

Please sign in to comment.