tests: run CI on Ubuntu Noble

This commit is contained in:
Jose Diaz-Gonzalez
2024-09-21 19:45:47 -04:00
parent ba2ddb8634
commit 93452a0e80

View File

@@ -19,7 +19,7 @@ env:
jobs:
check-commit:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
skip: ${{ steps.check-commit.outputs.skip }}
@@ -43,7 +43,7 @@ jobs:
build:
name: build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: check-commit
if: ${{ needs.check-commit.outputs.skip != 'true' }}
outputs:
@@ -83,7 +83,7 @@ jobs:
build-image-amd64:
name: build-image.linux/amd64
needs: build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
timeout-minutes: 20
steps:
@@ -97,7 +97,7 @@ jobs:
build-image-arm64:
name: build-image.linux/arm64
needs: build
runs-on: buildjet-4vcpu-ubuntu-2204-arm
runs-on: buildjet-4vcpu-ubuntu-2404-arm
timeout-minutes: 20
steps:
@@ -111,7 +111,7 @@ jobs:
unit-tests:
name: unit.${{ matrix.index }}
needs: build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix: ${{fromJson(needs.build.outputs.matrix)}}
@@ -151,7 +151,7 @@ jobs:
docker-deploy-tests:
name: docker
needs: build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
@@ -181,7 +181,7 @@ jobs:
go-tests:
name: go.${{ matrix.index }}
needs: build
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
@@ -222,7 +222,7 @@ jobs:
publish-test-results:
name: publish-test-results
needs: unit-tests
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
permissions:
checks: write
# the build-and-test job might be skipped, we don't need to run this job then