Skip to content

Commit

Permalink
fix: use ubuntu22.04 instead of ubuntu-latest, formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
erikburt committed Jul 9, 2024
1 parent 6c53b75 commit ef03db3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
# We don't directly merge dependabot PRs, so let's not waste the resources
if: ${{ (github.event_name == 'pull_request' || github.event_name == 'schedule') && github.actor != 'dependabot[bot]' }}
name: lint
runs-on: ubuntu-latest-8cores-32GB
runs-on: ubuntu22.04-8cores-32GB
needs: [filter]
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
Expand Down Expand Up @@ -88,19 +88,19 @@ jobs:
type:
- cmd: go_core_tests
id: core_unit
os: ubuntu-latest-32cores-128GB
os: ubuntu22.04-32cores-128GB
- cmd: go_core_race_tests
id: core_race
# use 64cores for overnight runs only due to massive number of runs from PRs
os: ${{ github.event_name == 'schedule' && 'ubuntu-latest-64cores-256GB' || 'ubuntu-latest-32cores-128GB' }}
- cmd: go_core_fuzz
id: core_fuzz
os: ubuntu-latest-8cores-32GB
os: ubuntu22.04-8cores-32GB
name: Core Tests (${{ matrix.type.cmd }})
# We don't directly merge dependabot PRs, so let's not waste the resources
if: github.actor != 'dependabot[bot]'
needs: [filter]
runs-on: ${{matrix.type.os}}
runs-on: ${{ matrix.type.os }}
steps:
- name: Checkout the repo
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
Expand Down Expand Up @@ -358,7 +358,7 @@ jobs:
clean:
name: Clean Go Tidy & Generate
if: ${{ !contains(join(github.event.pull_request.labels.*.name, ' '), 'skip-smoke-tests') && github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest-8cores-32GB
runs-on: ubuntu22.04-8cores-32GB
defaults:
run:
shell: bash
Expand Down

0 comments on commit ef03db3

Please sign in to comment.