Skip to content

Commit

Permalink
Quiet warnings from GitHub about Ubuntu runners
Browse files Browse the repository at this point in the history
  • Loading branch information
cbandy committed Dec 10, 2024
1 parent 98fbaca commit 550c905
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
contents: read
security-events: write

runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/govulncheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
permissions:
security-events: write

runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

jobs:
golangci-lint:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
checks: write
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:

jobs:
go-test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand All @@ -25,7 +25,7 @@ jobs:
run: go mod tidy && git diff --exit-code -- go.mod

kubernetes-api:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [go-test]
strategy:
fail-fast: false
Expand All @@ -51,7 +51,7 @@ jobs:

kubernetes-k3d:
if: "${{ github.repository == 'CrunchyData/postgres-operator' }}"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [go-test]
strategy:
fail-fast: false
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
retention-days: 1

kuttl-k3d:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [go-test]
strategy:
fail-fast: false
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:

coverage-report:
if: ${{ success() || contains(needs.*.result, 'success') }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs:
- kubernetes-api
- kubernetes-k3d
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# Do not fail this workflow when this job fails.
continue-on-error: true

runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Download Trivy
Expand All @@ -36,7 +36,7 @@ jobs:
if: >-
${{ !cancelled() }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
permissions:
security-events: write

runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 550c905

Please sign in to comment.