Skip to content

Commit

Permalink
Upgrade the ubuntu runner used in CI to 24.04 (#1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcornelissen authored Sep 25, 2024
1 parent d04697f commit f391d5f
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ permissions: read-all
jobs:
npm:
name: npm
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/audit-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions: read-all
jobs:
v3:
name: v3
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions: read-all
jobs:
build:
name: Build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
retention-days: 1
codeql:
name: CodeQL
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- build
permissions:
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
uses: github/codeql-action/analyze@4dd16135b69a43b6c8efb853346f8437d92d3c93 # v3.26.6
formatting:
name: Formatting
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
Expand All @@ -100,7 +100,7 @@ jobs:
run: npm run format:check -- --log-level debug
licenses:
name: Licenses
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
Expand All @@ -127,7 +127,7 @@ jobs:
run: npm run license-check
lint:
name: Lint
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
Expand Down Expand Up @@ -171,7 +171,7 @@ jobs:
run: npm run lint:yml -- --debug
reproducible:
name: Reproducible build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- build
steps:
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
run: shasum --check checksums.txt --strict
test:
name: Test
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- build
steps:
Expand Down Expand Up @@ -246,7 +246,7 @@ jobs:
run: npm run coverage
test-compat:
name: Compatibility tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- test
strategy:
Expand Down Expand Up @@ -288,7 +288,7 @@ jobs:
run: npm run test:compat
test-mutation:
name: Mutation tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- test
steps:
Expand Down Expand Up @@ -324,7 +324,7 @@ jobs:
run: npm run test:mutation
vet:
name: Vet
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Label
permissions:
pull-requests: write # To assign labels
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions: read-all
jobs:
check:
name: Check
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
released: ${{ steps.version.outputs.released }}
version: ${{ steps.version.outputs.version }}
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
fi
git:
name: git
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: ${{ needs.check.outputs.released == 'false' }}
needs:
- check
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
git push origin "HEAD:$MAJOR_VERSION"
npm:
name: npm
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: ${{ needs.check.outputs.released == 'false' }}
needs:
- check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions: read-all
jobs:
initiate:
name: Initiate
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: write # To push a commit
pull-requests: write # To open a Pull Request
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions: read-all
jobs:
secrets:
name: Secrets
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions: read-all
jobs:
semgrep:
name: Semgrep
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
security-events: write # To upload SARIF results
container:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tooling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions: read-all
jobs:
update:
name: Update
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: write # To push a commit
pull-requests: write # To open a Pull Request
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions: read-all
jobs:
npm-deps:
name: Update transitive dependencies
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
contents: write # To push a commit
pull-requests: write # To open a Pull Request
Expand Down

0 comments on commit f391d5f

Please sign in to comment.