Skip to content

Commit

Permalink
fix: use ubuntu-latest runner
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Mar 15, 2024
1 parent 88416f1 commit acd5ec1
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 50 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/dispatch_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ jobs:
select_version:
name: Select Version
if: ${{ always() && !cancelled() && !failure() }}
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/dispatch_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ jobs:

update_version:
name: Update Version
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
needs: [ci]
steps:
- name: Checkout
Expand All @@ -53,8 +52,7 @@ jobs:

released_version:
name: Version ➠ ${{ needs.update_version.outputs.version }}
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
needs: [ update_version ]
steps:
- run: echo "Version = ${{ needs.update_version.outputs.version }}"
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/event_intake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ jobs:
auto-promote:
name: auto-promote
if: github.event.action == 'opened'
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
steps:
- name: Check Core Team membership
uses: tspascoal/get-user-teams-membership@v1
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/event_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ permissions:
jobs:
check_pr:
name: Check PR
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
permissions:
statuses: write
steps:
Expand All @@ -38,8 +37,7 @@ jobs:

paths_filter:
name: Paths Filter
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
Expand All @@ -65,8 +63,7 @@ jobs:

merge_check:
name: Merge Check
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
if: ${{ always() && !cancelled() && !failure() }}
needs: [check_pr, ci]
steps:
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/event_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ jobs:

paths_filter:
name: Paths Filter
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
Expand All @@ -51,8 +50,7 @@ jobs:

update_version:
name: Update Version
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
if: ${{ needs.paths_filter.outputs.app == 'true' }}
needs: [paths_filter]
steps:
Expand All @@ -73,8 +71,7 @@ jobs:

released_version:
name: Release Version ➠ ${{ needs.update_version.outputs.version }}
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubutnu-latest
needs: [ update_version ]
steps:
- run: echo "Version = ${{ needs.update_version.outputs.version }}"
Expand All @@ -97,8 +94,7 @@ jobs:

get_version:
name: Get Version
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
needs: [ paths_filter, update_version, publish_image-staging, publish_image-prod ]
if: ${{ always() && !cancelled() && !failure() }}
steps:
Expand Down Expand Up @@ -126,8 +122,7 @@ jobs:
used_version:
name: Version ➠ ${{ needs.get_version.outputs.version }}
if: ${{ always() && !cancelled() && !failure() }}
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
needs: [ get_version ]
steps:
- run: echo "Version = ${{ needs.get_version.outputs.version }}"
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/sub-app-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ permissions:
jobs:
clippy:
name: Clippy
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -42,8 +41,7 @@ jobs:

formatting:
name: Formatting
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -66,8 +64,7 @@ jobs:

tests:
name: Tests
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/sub-app-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ permissions:
jobs:
deploy-app:
name: Deploy App `${{ inputs.stage }}`
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
environment:
name: ${{ inputs.stage }}
url: ${{ inputs.environment_url }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/sub-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ jobs:
deployment_window:
name: Deployment Window
if: ${{ inputs.deploy-prod }}
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
environment:
name: prod
url: https://${{ vars.SUBDOMAIN_NAME }}.walletconnect.com/health
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/sub-infra-apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ permissions:
jobs:
apply-infra:
name: Apply Infra `${{ inputs.stage }}`
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
environment:
name: ${{ inputs.stage }}
url: ${{ inputs.stage-url }}
Expand Down
12 changes: 4 additions & 8 deletions .github/workflows/sub-infra-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ permissions:
jobs:
check-fmt:
name: Formatting
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -37,8 +36,7 @@ jobs:

validate:
name: Validate
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -70,8 +68,7 @@ jobs:

tfsec:
name: TFSec
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -102,8 +99,7 @@ jobs:

tflint:
name: TFLint
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/sub-infra-plan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ concurrency: ${{ inputs.stage }}
jobs:
plan:
name: Plan `${{ inputs.stage }}`
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
environment:
name: ${{ inputs.stage }}
url: ${{ inputs.stage-url }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/sub-publish-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ permissions:
jobs:
build-container:
name: Build
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/sub-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ on:
jobs:
health-check:
name: Health Check - ${{ inputs.stage }}
runs-on:
group: ${{ vars.RUN_GROUP }}
runs-on: ubuntu-latest
environment:
name: ${{ inputs.stage }}
url: ${{ inputs.stage-url }}
Expand Down

0 comments on commit acd5ec1

Please sign in to comment.