Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
ci: switch back to github runners (#736)
Browse files Browse the repository at this point in the history
Co-authored-by: Rashad Alston <[email protected]>
  • Loading branch information
ra0x3 and Rashad Alston authored Apr 5, 2023
1 parent cb5d711 commit 39776d4
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ env:

jobs:
cancel-previous-runs:
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

cargo-toml-fmt-check:
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
Expand All @@ -47,7 +47,7 @@ jobs:
run: cargo sort -w --check packages/**/Cargo.toml

set-env-vars:
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
outputs:
IS_MASTER: ${{ steps.set-env.outputs.IS_MASTER }}
IS_RELEASE: ${{ steps.set-env.outputs.IS_RELEASE }}
Expand All @@ -65,7 +65,7 @@ jobs:
if: needs.set-env-vars.outputs.IS_RELEASE_OR_MASTER != 'true'
needs:
- set-env-vars
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
outputs:
is_semver_branch: ${{ steps.semver-branch-check.outputs.is_semver_branch }}
steps:
Expand All @@ -80,7 +80,7 @@ jobs:
fi
mdbook-lint:
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand All @@ -93,7 +93,7 @@ jobs:
mdbook-build:
needs:
- mdbook-lint
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -107,7 +107,7 @@ jobs:
mdbook-version: 'latest'

cargo-verifications:
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
needs:
- cargo-toml-fmt-check
- set-env-vars
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
needs:
- cargo-toml-fmt-check
- set-env-vars
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -165,7 +165,7 @@ jobs:
needs:
- cargo-toml-fmt-check
- set-env-vars
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -180,7 +180,7 @@ jobs:
needs:
- cargo-toml-fmt-check
- set-env-vars
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
services:
postgres:
image: postgres:latest
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
needs:
- cargo-toml-fmt-check
- set-env-vars
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
services:
postgres:
image: postgres:latest
Expand Down Expand Up @@ -255,7 +255,7 @@ jobs:
needs:
- cargo-toml-fmt-check
- set-env-vars
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -276,7 +276,7 @@ jobs:
needs:
- set-env-vars
if: needs.set-env-vars.outputs.IS_RELEASE_OR_MASTER == 'true'
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -526,7 +526,7 @@ jobs:
needs:
- publish-docker-image
- set-env-vars
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- name: Set Environment Variables
run: |
Expand Down Expand Up @@ -555,7 +555,7 @@ jobs:
- publish-docker-image
- set-env-vars
if: needs.set-env-vars.outputs.IS_RELEASE == 'true'
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand Down Expand Up @@ -610,15 +610,15 @@ jobs:
- cargo-fmt-check
- cargo-test-forc-index-plugins

runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- run: true

notify-slack-on-failure:
needs:
- validation-complete
if: always()
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
steps:
- name: Notify Slack On Failure
uses: ravsamhq/notify-slack-action@v2
Expand Down

0 comments on commit 39776d4

Please sign in to comment.