Changed CI to just run on ubuntu-latest

If we already have to bump this version as GitHub phases out older
Ubuntu runners (which is reasonable), I don't really see the value of
pinning a specific version. We might as well just respond to any
broken dependencies caused by GitHub's implicit updates as they
happen...

It's not like CI is truly continuous.
This commit is contained in:
Christopher Haster
2023-12-21 00:33:44 -06:00
parent c733d9ec57
commit 897b571318
4 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ defaults:
jobs: jobs:
post-release: post-release:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
steps: steps:
# trigger post-release in dependency repo, this indirection allows the # trigger post-release in dependency repo, this indirection allows the
# dependency repo to be updated often without affecting this repo. At # dependency repo to be updated often without affecting this repo. At
+1 -1
View File
@@ -11,7 +11,7 @@ defaults:
jobs: jobs:
release: release:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
# need to manually check for a couple things # need to manually check for a couple things
# - tests passed? # - tests passed?
+2 -2
View File
@@ -11,7 +11,7 @@ defaults:
jobs: jobs:
# forward custom statuses # forward custom statuses
status: status:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
steps: steps:
- uses: dawidd6/action-download-artifact@v2 - uses: dawidd6/action-download-artifact@v2
continue-on-error: true continue-on-error: true
@@ -60,7 +60,7 @@ jobs:
# forward custom pr-comments # forward custom pr-comments
comment: comment:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
# only run on success (we don't want garbage comments!) # only run on success (we don't want garbage comments!)
if: ${{github.event.workflow_run.conclusion == 'success'}} if: ${{github.event.workflow_run.conclusion == 'success'}}
+12 -12
View File
@@ -14,7 +14,7 @@ env:
jobs: jobs:
# run tests # run tests
test: test:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@@ -329,7 +329,7 @@ jobs:
# #
# this grows exponentially, so it doesn't turn out to be that many # this grows exponentially, so it doesn't turn out to be that many
test-pls: test-pls:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
@@ -359,7 +359,7 @@ jobs:
# run with LFS_NO_INTRINSICS to make sure that works # run with LFS_NO_INTRINSICS to make sure that works
test-no-intrinsics: test-no-intrinsics:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: install - name: install
@@ -376,7 +376,7 @@ jobs:
# run LFS_MULTIVERSION tests # run LFS_MULTIVERSION tests
test-multiversion: test-multiversion:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: install - name: install
@@ -393,7 +393,7 @@ jobs:
# run tests on the older version lfs2.0 # run tests on the older version lfs2.0
test-lfs2_0: test-lfs2_0:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: install - name: install
@@ -412,7 +412,7 @@ jobs:
# run under Valgrind to check for memory errors # run under Valgrind to check for memory errors
test-valgrind: test-valgrind:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: install - name: install
@@ -434,7 +434,7 @@ jobs:
# test that compilation is warning free under clang # test that compilation is warning free under clang
# run with Clang, mostly to check for Clang-specific warnings # run with Clang, mostly to check for Clang-specific warnings
test-clang: test-clang:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: install - name: install
@@ -457,7 +457,7 @@ jobs:
# #
# note there's no real benefit to running these on multiple archs # note there's no real benefit to running these on multiple archs
bench: bench:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: install - name: install
@@ -533,7 +533,7 @@ jobs:
# run compatibility tests using the current master as the previous version # run compatibility tests using the current master as the previous version
test-compat: test-compat:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
if: ${{github.event_name == 'pull_request'}} if: ${{github.event_name == 'pull_request'}}
@@ -569,7 +569,7 @@ jobs:
# self-host with littlefs-fuse for a fuzz-like test # self-host with littlefs-fuse for a fuzz-like test
fuse: fuse:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
if: ${{!endsWith(github.ref, '-prefix')}} if: ${{!endsWith(github.ref, '-prefix')}}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@@ -619,7 +619,7 @@ jobs:
# test migration using littlefs-fuse # test migration using littlefs-fuse
migrate: migrate:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
if: ${{!endsWith(github.ref, '-prefix')}} if: ${{!endsWith(github.ref, '-prefix')}}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@@ -691,7 +691,7 @@ jobs:
# status related tasks that run after tests # status related tasks that run after tests
status: status:
runs-on: ubuntu-22.04 runs-on: ubuntu-latest
needs: [test, bench] needs: [test, bench]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2