Skip to content

Commit

Permalink
Update GitHub Actions to ubuntu-latest (#688)
Browse files Browse the repository at this point in the history
  • Loading branch information
NWilson authored Feb 6, 2025
1 parent a71d100 commit 82d7d5e
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
jobs:
linux:
name: Linux
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- name: Setup
run: |
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
alpine:
name: alpine
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
container: alpine
steps:
- name: Setup
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
freebsd:
name: FreeBSD
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- name: Checkout
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
solaris:
name: Solaris
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- name: Checkout
Expand Down Expand Up @@ -274,7 +274,7 @@ jobs:
distcheck:
name: Build & verify distribution
runs-on: ubuntu-24.04 # TODO: Update to ubuntu-latest when that switches to 24.04
runs-on: ubuntu-latest
permissions:
id-token: write # Needed to make calls to the Sigstore service
attestations: write # Needed to write the attestation to GitHub's database
Expand Down Expand Up @@ -330,7 +330,7 @@ jobs:

coverage:
name: Code coverage
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- name: Setup
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:

jobs:
Fuzzing:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- name: Build Fuzzers
id: build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang-analyzer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:

jobs:
Analyze:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest

permissions:
# Needed to upload the results to code-scanning dashboard.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ permissions:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-24.04
runs-on: ubuntu-latest

permissions:
# Needed to upload the results to code-scanning dashboard.
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
canary:
# Tests with: Debug & assertions; link-size=4; libedit
name: GCC -O0
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- name: Setup
run: |
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
dragon:
# Tests with: clang AB/UB; link-size=3
name: Clang
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
wasp:
# Tests with: French locale; oldest supported CMake; no JIT; -Os; libreadline
name: GCC -Os, CMake+ninja, no JIT
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
env:
CMAKE_VER: "3.15.7"
steps:
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
bigbird:
# Job to execute ManyConfigTests
name: manyconfig
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- name: Setup
run: |
Expand All @@ -247,7 +247,7 @@ jobs:
camel:
# Job to execute RunPerlTest
name: perl
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
container: perl:devel
steps:
- name: Checkout
Expand All @@ -265,7 +265,7 @@ jobs:
# If this fails, it's usually because two different files define some file-static
# functions or macros which collide.
name: CMake unity build
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
env:
# Disallowing shadowing would be very spammy for unity builds, because the
# same variable name can be used in multiple files.
Expand Down Expand Up @@ -355,7 +355,7 @@ jobs:
# Not used by anyone yet, really, but potentially the "next big thing".
- arch: "riscv64"
distro: "ubuntu_latest"
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
permissions:
contents: read
packages: write # Necessary for uraimo/run-on-arch-action to use GitHub's Docker repository as a cache
Expand Down Expand Up @@ -396,7 +396,7 @@ jobs:
zebrilus:
# Tests with: Zig compiler
name: Zig
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
steps:
- name: Setup
Expand Down Expand Up @@ -424,7 +424,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-24.04", "windows-latest"]
os: ["ubuntu-latest", "windows-latest"]
runs-on: ${{ matrix.os }}
if: github.event_name != 'pull_request'
steps:
Expand All @@ -444,7 +444,7 @@ jobs:
# the committer's responsibility (currently) to run UpdateAlways themselves when
# making a PR, so that everything is kept in-sync.
name: Check autogenerated file freshness
runs-on: ubuntu-24.04 # TODO: Update to ubuntu-latest when that switches to 24.04
runs-on: ubuntu-latest
permissions:
contents: write
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ permissions: read-all
jobs:
analysis:
name: Scorecards analysis
runs-on: ubuntu-24.04
runs-on: ubuntu-latest

permissions:
# Needed to upload the results to code-scanning dashboard.
Expand Down

0 comments on commit 82d7d5e

Please sign in to comment.