Skip to content

Commit

Permalink
CI: Use Ubuntu 22.04 in GitHub Actions since 18.04 is not available.
Browse files Browse the repository at this point in the history
Jobs just silently wait forever since they are waiting for an 18.04
runner and there are none anymore. Fix that.
  • Loading branch information
briansmith committed Aug 29, 2023
1 parent 0b7cbf2 commit ba6339b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
# Don't run duplicate `push` jobs for the repo owner's PRs.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: ubuntu-18.04
runs-on: ubuntu-22.04

steps:
- uses: actions-rs/toolchain@v1
Expand All @@ -22,7 +22,7 @@ jobs:
# Don't run duplicate `push` jobs for the repo owner's PRs.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: ubuntu-18.04
runs-on: ubuntu-22.04

steps:
- uses: actions-rs/toolchain@v1
Expand All @@ -39,7 +39,7 @@ jobs:
# Don't run duplicate `push` jobs for the repo owner's PRs.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: ubuntu-18.04
runs-on: ubuntu-22.04

steps:
- uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
# Don't run duplicate `push` jobs for the repo owner's PRs.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: ubuntu-18.04
runs-on: ubuntu-22.04

steps:
- uses: actions-rs/toolchain@v1
Expand All @@ -94,7 +94,7 @@ jobs:
# Don't run duplicate `push` jobs for the repo owner's PRs.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository

runs-on: ubuntu-18.04
runs-on: ubuntu-22.04

strategy:
matrix:
Expand Down Expand Up @@ -162,16 +162,16 @@ jobs:

include:
- target: arm-unknown-linux-gnueabihf
host_os: ubuntu-18.04
host_os: ubuntu-22.04

- target: i686-pc-windows-msvc
host_os: windows-latest

- target: x86_64-unknown-linux-musl
host_os: ubuntu-18.04
host_os: ubuntu-22.04

- target: x86_64-unknown-linux-gnu
host_os: ubuntu-18.04
host_os: ubuntu-22.04

steps:
- if: ${{ contains(matrix.host_os, 'ubuntu') }}
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
# TODO: targets
include:
- target: x86_64-unknown-linux-musl
host_os: ubuntu-18.04
host_os: ubuntu-22.04

steps:
- if: ${{ contains(matrix.host_os, 'ubuntu') }}
Expand Down

0 comments on commit ba6339b

Please sign in to comment.