Skip to content

Commit

Permalink
ci: don't use self-hosted runners on cheap jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill committed Apr 27, 2022
1 parent 0b17ba8 commit 19d145a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ env:

jobs:
diff:
runs-on: [self-hosted, ubuntu-latest]
runs-on: [ubuntu-latest]
outputs:
isRust: ${{ steps.diff.outputs.isRust }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
diff:
runs-on: [self-hosted, ubuntu-latest]
runs-on: [ubuntu-latest]
outputs:
isRust: ${{ steps.diff.outputs.isRust }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/explorer-client-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Explorer Client PR checks
on: pull_request
jobs:
diff:
runs-on: [self-hosted, ubuntu-latest]
runs-on: [ubuntu-latest]
outputs:
isClient: ${{ steps.diff.outputs.isExplorerClient }}
steps:
Expand All @@ -14,7 +14,7 @@ jobs:
name: Lint, Test & Build
needs: diff
if: needs.diff.outputs.isClient == 'true'
runs-on: [self-hosted, ubuntu-latest]
runs-on: [ubuntu-latest]
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:

jobs:
diff:
runs-on: [self-hosted, ubuntu-latest]
runs-on: [ubuntu-latest]
outputs:
isRust: ${{ steps.diff.outputs.isRust }}
steps:
Expand All @@ -41,7 +41,7 @@ jobs:

license-check:
name: license-check
runs-on: [self-hosted, ubuntu-latest]
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- run: scripts/license_check.sh
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
clippy:
needs: diff
if: needs.diff.outputs.isRust == 'true'
runs-on: [self-hosted, ubuntu-latest]
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand All @@ -87,7 +87,7 @@ jobs:
rustfmt:
needs: diff
if: needs.diff.outputs.isRust == 'true'
runs-on: [self-hosted, ubuntu-latest]
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand All @@ -103,15 +103,15 @@ jobs:
name: cargo-deny (advisories, licenses, bans, ...)
needs: diff
if: needs.diff.outputs.isRust == 'true'
runs-on: [self-hosted, ubuntu-latest]
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@v1

cargo-udeps:
needs: diff
if: needs.diff.outputs.isRust == 'true'
runs-on: [self-hosted, ubuntu-latest]
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit 19d145a

Please sign in to comment.