Use ubuntu-22.04 in CI

This commit is contained in:
Maschell 2022-09-04 18:40:39 +02:00
parent f1d0d22d2b
commit 2ec1949575
2 changed files with 6 additions and 6 deletions

View File

@ -7,14 +7,14 @@ on:
jobs: jobs:
clang-format: clang-format:
runs-on: ubuntu-18.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: clang-format - name: clang-format
run: | run: |
docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./src docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./src
build-binary: build-binary:
runs-on: ubuntu-18.04 runs-on: ubuntu-22.04
needs: clang-format needs: clang-format
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -28,7 +28,7 @@ jobs:
path: "*.wms" path: "*.wms"
deploy-binary: deploy-binary:
needs: build-binary needs: build-binary
runs-on: ubuntu-18.04 runs-on: ubuntu-22.04
steps: steps:
- name: Get environment variables - name: Get environment variables
id: get_repository_name id: get_repository_name

View File

@ -4,14 +4,14 @@ on: [pull_request]
jobs: jobs:
clang-format: clang-format:
runs-on: ubuntu-18.04 runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: clang-format - name: clang-format
run: | run: |
docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./src docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./src
check-build-with-logging: check-build-with-logging:
runs-on: ubuntu-18.04 runs-on: ubuntu-22.04
needs: clang-format needs: clang-format
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -22,7 +22,7 @@ jobs:
docker run --rm -v ${PWD}:/project builder make clean docker run --rm -v ${PWD}:/project builder make clean
docker run --rm -v ${PWD}:/project builder make DEBUG=1 docker run --rm -v ${PWD}:/project builder make DEBUG=1
build-binary: build-binary:
runs-on: ubuntu-18.04 runs-on: ubuntu-22.04
needs: clang-format needs: clang-format
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2