Update CI files to use actions/checkout@v3 and ubuntu-20.04

This commit is contained in:
Maschell 2023-01-02 14:16:46 +01:00
parent cf5a70c07c
commit e7dcd20545
2 changed files with 9 additions and 9 deletions

View File

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

View File

@ -4,17 +4,17 @@ on: [pull_request]
jobs:
clang-format:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: clang-format
run: |
docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./src
build-binary:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: clang-format
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: build binary
run: |
docker build . -t builder