Skip to content

Commit

Permalink
Fix: corrected wrongly used sytax for specifying labels to use for se…
Browse files Browse the repository at this point in the history
…lf hosted runners
  • Loading branch information
nachog00 committed Nov 4, 2024
1 parent 8184097 commit 2f0e7ec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cargo-checkmate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [workflow_call]
jobs:
cache-checkmate:
name: Cache checkmate
runs-on: self-hosted
runs-on: [self-hosted,"1",many]
if: github.event.pull_request.draft == false
steps:
- uses: taiki-e/cache-cargo-install-action@v1
Expand All @@ -18,7 +18,7 @@ jobs:
matrix:
phase: [build, check, clippy, doc, format]
needs: cache-checkmate
runs-on: self-hosted
runs-on: [self-hosted,"1",many]
if: github.event.pull_request.draft == false
env:
RUSTFLAGS: -D warnings
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

reject-trailing-whitespace:
name: Reject trailing whitespace
runs-on: self-hosted
runs-on: [self-hosted,"1",many]
if: github.event.pull_request.draft == false
steps:
- name: Checkout repository
Expand All @@ -27,7 +27,7 @@ jobs:

run-doc-tests:
name: Run doc tests
runs-on: self-hosted
runs-on: [self-hosted,"1",many]
if: github.event.pull_request.draft == false
env:
RUSTFLAGS: -D warnings
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ jobs:
name: Build test artifacts
container:
image: zingodevops/ci-build:004
runs-on:
- self-hosted
- labels: ["1","many"]
runs-on: [self-hosted,"1",many]
if: github.event.pull_request.draft == false
env:
RUSTFLAGS: -D warnings
Expand Down Expand Up @@ -47,9 +45,7 @@ jobs:

run-tests:
name: Run tests
runs-on:
- self-hosted
- labels: ["1","many"]
runs-on: [self-hosted,"1",many]
if: github.event.pull_request.draft == false
needs: build-test-artifacts
env:
Expand Down

0 comments on commit 2f0e7ec

Please sign in to comment.