Skip to content

Commit

Permalink
Upgrade the Ubuntu-based runner used in CI to 24.04 (#1562)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericcornelissen authored Sep 25, 2024
1 parent f6905f6 commit ce90b96
Show file tree
Hide file tree
Showing 15 changed files with 33 additions and 33 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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
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:
v2:
name: v2
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions: read-all
jobs:
codeql:
name: CodeQL
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
security-events: write # To upload CodeQL results
steps:
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
uses: github/codeql-action/analyze@461ef6c76dfe95d5c364de2f431ddbd31a417628 # v3.26.9
format:
name: Formatting
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
run: npm run format:check
licenses:
name: Licenses
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
Expand Down Expand Up @@ -96,7 +96,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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
run: npm run lint:yml
reproducible:
name: Reproducible build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- transpile
steps:
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
run: shasum --check checksums.txt --strict
test-breakage:
name: Breakage
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- test-integration
steps:
Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
run: npm run coverage:breakage
test-compatibility:
name: Compatibility
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- test-integration
strategy:
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
- name: MacOS
os: macos-14
- name: Ubuntu
os: ubuntu-22.04
os: ubuntu-24.04
- name: Windows
os: windows-2022
steps:
Expand Down Expand Up @@ -321,7 +321,7 @@ jobs:
- name: MacOS
os: macos-14
- name: Ubuntu
os: ubuntu-22.04
os: ubuntu-24.04
- name: Windows
os: windows-2022
steps:
Expand Down Expand Up @@ -359,7 +359,7 @@ jobs:
run: npm run coverage:integration
test-mutation-unit:
name: Mutation (Unit)
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- test-unit
steps:
Expand Down Expand Up @@ -405,7 +405,7 @@ jobs:
.cache/stryker-incremental-unit.json
test-mutation-integration:
name: Mutation (integration)
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs:
- test-integration
steps:
Expand Down Expand Up @@ -456,7 +456,7 @@ jobs:
.cache/stryker-incremental-integration.json
test-unit:
name: Unit
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
Expand Down Expand Up @@ -485,7 +485,7 @@ jobs:
run: npm run coverage:unit
transpile:
name: Transpile
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
Expand Down Expand Up @@ -514,7 +514,7 @@ jobs:
run: npm run transpile
vet:
name: Vet
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/config-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ permissions: read-all
jobs:
package-json:
name: package.json
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
run: npm run vet:package.json
package-lock-json:
name: package-lock.json
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Harden runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fuzz-bash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
uses: ./.github/workflows/reusable-fuzz.yml
with:
duration: 600 # seconds == 10 minutes
os: ubuntu-22.04
os: ubuntu-24.04
shell: /bin/bash
targets: '["exec", "exec-file", "spawn"]'
2 changes: 1 addition & 1 deletion .github/workflows/fuzz-csh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
uses: ./.github/workflows/reusable-fuzz.yml
with:
duration: 600 # seconds == 10 minutes
os: ubuntu-22.04
os: ubuntu-24.04
shell: /bin/csh
targets: '["exec", "exec-file", "spawn"]'
2 changes: 1 addition & 1 deletion .github/workflows/fuzz-dash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
uses: ./.github/workflows/reusable-fuzz.yml
with:
duration: 600 # seconds == 10 minutes
os: ubuntu-22.04
os: ubuntu-24.04
shell: /bin/dash
targets: '["exec", "exec-file", "spawn"]'
2 changes: 1 addition & 1 deletion .github/workflows/fuzz-no-shell-unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
uses: ./.github/workflows/reusable-fuzz.yml
with:
duration: 600 # seconds == 10 minutes
os: ubuntu-22.04
os: ubuntu-24.04
shell: "" # false
targets: '["exec-file", "fork", "spawn"]'
2 changes: 1 addition & 1 deletion .github/workflows/fuzz-zsh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
uses: ./.github/workflows/reusable-fuzz.yml
with:
duration: 600 # seconds == 10 minutes
os: ubuntu-22.04
os: ubuntu-24.04
shell: /bin/zsh
targets: '["exec", "exec-file", "spawn"]'
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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: MacOS
os: macos-14
- name: Ubuntu
os: ubuntu-22.04
os: ubuntu-24.04
- name: Windows
os: windows-2022
steps:
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
run: npm run test:e2e
tooling:
name: Tool 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
8 changes: 4 additions & 4 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 }}
release_notes: ${{ steps.version.outputs.release_notes }}
Expand Down Expand Up @@ -57,7 +57,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 @@ -100,7 +100,7 @@ jobs:
git push origin "HEAD:${MAJOR_VERSION}"
github:
name: GitHub
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: ${{ needs.check.outputs.released == 'false' }}
needs:
- check
Expand All @@ -127,7 +127,7 @@ jobs:
prerelease: false
npm:
name: npm
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
if: ${{ needs.check.outputs.released == 'false' }}
permissions:
id-token: write # To attach provenance to the published package
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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
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

0 comments on commit ce90b96

Please sign in to comment.