Skip to content

Commit 40777d1

Browse files
authored
ci: use ubuntu-latest runner for CI jobs (#117)
GitHub has retired the `ubuntu-20.04` runner image, which causes CI to fail. This switches all jobs in `build-lint-test.yml` to `ubuntu-latest` so CI continues to run. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Runner image label only; no application or workflow step logic changes. > > **Overview** > Updates **Build, Lint, and Test** so every job (`build-lint-test`, `updated-packages-test`, and `all-tests-pass`) uses `runs-on: ubuntu-latest` instead of the retired `ubuntu-20.04` image. Build, lint, test, and release-package verification steps are unchanged; only the runner label moves forward so workflows can start again. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit a15cf39. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 6794098 commit 40777d1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-lint-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
build-lint-test:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
1313
- run: yarn --frozen-lockfile
@@ -18,7 +18,7 @@ jobs:
1818
- run: yarn test
1919
# tests to ensure get-release-packages.sh functions as expected
2020
updated-packages-test:
21-
runs-on: ubuntu-20.04
21+
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@v3
2424
with:
@@ -117,7 +117,7 @@ jobs:
117117
fi;
118118
119119
all-tests-pass:
120-
runs-on: ubuntu-20.04
120+
runs-on: ubuntu-latest
121121
needs: [build-lint-test, updated-packages-test]
122122
steps:
123123
- run: echo "Great success"

0 commit comments

Comments
 (0)