Skip to content

Commit

Permalink
fix(ci): Fix macos and linux CI by using a supported image
Browse files Browse the repository at this point in the history
The github action was failing to execute because github no longer
maintains any action runners with the OS versions that were being
requested.

Instead just use the latest, so CI should continue to work and not be
dependent on the end of life of certain OS versions.
  • Loading branch information
bgianfo committed Jul 13, 2023
1 parent 69e5891 commit fd26ecc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, macos-11, windows-2019]
os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, macos-10.15]
os: [ubuntu-latest, macos-latest]

steps:
- uses: actions/checkout@v2
Expand All @@ -63,5 +63,5 @@ jobs:
- name: Build
run: |
bazelisk build --platforms=@local_config_platform//:host //...
bazelisk build --platforms=@local_config_platform//:host //...

0 comments on commit fd26ecc

Please sign in to comment.