Skip to content

Commit

Permalink
fix: make self-hosted actions able to run on generic ubuntu (rather t…
Browse files Browse the repository at this point in the history
…han latest)

Solvesstarvation on lack of self-hosted runners @ubuntu 22
  • Loading branch information
huitseeker committed Apr 27, 2022
1 parent 33677cf commit a94c050
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
bench:
needs: diff
if: github.event.pull_request.draft == false && needs.diff.outputs.isRust == 'true'
runs-on: [self-hosted, ubuntu-latest]
runs-on: [self-hosted, ubuntu]
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
name: Generate code coverage
needs: diff
if: github.event.pull_request.draft == false && needs.diff.outputs.isRust == 'true'
runs-on: [self-hosted, ubuntu-latest]
runs-on: [self-hosted, ubuntu]
strategy:
fail-fast: true
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ env:
jobs:
beta:
name: Run test on the beta channel
runs-on: [self-hosted, ubuntu-latest]
runs-on: [self-hosted, ubuntu]
steps:
- uses: actions/checkout@v3
- name: Install beta toolchain
Expand All @@ -49,7 +49,7 @@ jobs:

release:
name: build release binaries
runs-on: [self-hosted, ubuntu-latest]
runs-on: [self-hosted, ubuntu]
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
test:
needs: diff
if: needs.diff.outputs.isRust == 'true'
runs-on: [self-hosted, ubuntu-latest]
runs-on: [self-hosted, ubuntu]
strategy:
fail-fast: false
steps:
Expand Down

0 comments on commit a94c050

Please sign in to comment.