diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2ea9b0995..10325970b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, macos-13, macos-14, macos-arm-oss, windows-2019, windows-2022 ] + os: [ ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-11, macos-12, macos-13, macos-14, macos-arm-oss, windows-2019, windows-2022 ] ruby: [ '1.9', '2.0', '2.1', '2.2', '2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', ruby-head, jruby, jruby-head, @@ -33,6 +33,8 @@ jobs: exclude: # https://github.com/ruby/setup-ruby/issues/496 - { os: ubuntu-22.04, ruby: '2.2' } + - { os: ubuntu-24.04, ruby: '1.9' } + - { os: ubuntu-24.04, ruby: '2.2' } # These old Rubies fail to compile on macos-arm-oss (macOS 13, arm64), which is used for ruby/ruby-builder - { os: macos-14, ruby: '1.9' } - { os: macos-14, ruby: '2.0' } diff --git a/README.md b/README.md index 210abe24e..f0fd3b9b1 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ The action works on these [GitHub-hosted runners](https://docs.github.com/en/act | Operating System | Supported | | ---------------- | --------- | -| Ubuntu | `ubuntu-20.04`, `ubuntu-22.04` | +| Ubuntu | `ubuntu-20.04`, `ubuntu-22.04`, `ubuntu-24.04` | | macOS | `macos-11`, `macos-12`, `macos-13`, `macos-14` | | Windows | `windows-2019`, `windows-2022` | diff --git a/common.js b/common.js index f15cf11f5..c7b9d5c4f 100644 --- a/common.js +++ b/common.js @@ -165,6 +165,7 @@ export async function hashFile(file) { const GitHubHostedPlatforms = [ 'ubuntu-20.04-x64', 'ubuntu-22.04-x64', + 'ubuntu-24.04-x64', 'macos-11-x64', 'macos-12-x64', 'macos-13-x64', diff --git a/dist/index.js b/dist/index.js index d91fe36cb..3c6146fb0 100644 --- a/dist/index.js +++ b/dist/index.js @@ -525,6 +525,7 @@ async function hashFile(file) { const GitHubHostedPlatforms = [ 'ubuntu-20.04-x64', 'ubuntu-22.04-x64', + 'ubuntu-24.04-x64', 'macos-11-x64', 'macos-12-x64', 'macos-13-x64',