Use ubuntu-22.04 and actions/checkout@v3

This commit is contained in:
Maschell 2023-03-16 11:38:54 +01:00
parent 9ee706bdad
commit 5905436692

View File

@ -4,17 +4,17 @@ 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@v3
- name: clang-format - name: clang-format
run: | run: |
docker run --rm -v ${PWD}:/src ghcr.io/wiiu-env/clang-format:13.0.0-2 -r ./source ./include docker run --rm -v ${PWD}:/src ghcr.io/wiiu-env/clang-format:13.0.0-2 -r ./source ./include
build-lib: build-lib:
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@v3
- name: build lib - name: build lib
run: | run: |
docker build . -f Dockerfile.buildlocal -t builder docker build . -f Dockerfile.buildlocal -t builder