github workflows: upgrade actions/checkout to version 3
This is a no-op change, but github complains that nodejs is outdated if you don't. It's not obvious why this required a major version bump...
This commit is contained in:
parent
bf1fbfd590
commit
01c8205864
|
@ -43,7 +43,7 @@ jobs:
|
||||||
|
|
||||||
- run: git config --global core.autocrlf input
|
- run: git config --global core.autocrlf input
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: cygwin/cygwin-install-action@master
|
- uses: cygwin/cygwin-install-action@master
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -13,7 +13,7 @@ jobs:
|
||||||
format:
|
format:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
|
@ -42,7 +42,7 @@ jobs:
|
||||||
- { name: Ubuntu Bionic, id: bionic }
|
- { name: Ubuntu Bionic, id: bionic }
|
||||||
- { name: Ubuntu Rolling, id: ubuntu-rolling }
|
- { name: Ubuntu Rolling, id: ubuntu-rolling }
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# Login to dockerhub
|
# Login to dockerhub
|
||||||
- name: Docker login
|
- name: Docker login
|
||||||
|
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
pylint:
|
pylint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
@ -32,7 +32,7 @@ jobs:
|
||||||
flake8:
|
flake8:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
@ -42,7 +42,7 @@ jobs:
|
||||||
mypy:
|
mypy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
|
@ -27,7 +27,7 @@ jobs:
|
||||||
unittests-appleclang:
|
unittests-appleclang:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
@ -66,7 +66,7 @@ jobs:
|
||||||
MESON_CI_JOBNAME: ${{ matrix.NAME }}
|
MESON_CI_JOBNAME: ${{ matrix.NAME }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
# Avoid picking up an older version of LLVM that does not work.
|
# Avoid picking up an older version of LLVM that does not work.
|
||||||
- run: brew update
|
- run: brew update
|
||||||
# github actions overwrites brew's python. Force it to reassert itself, by running in a separate step.
|
# github actions overwrites brew's python. Force it to reassert itself, by running in a separate step.
|
||||||
|
@ -100,7 +100,7 @@ jobs:
|
||||||
Qt4macos:
|
Qt4macos:
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
|
@ -60,7 +60,7 @@ jobs:
|
||||||
shell: msys2 {0}
|
shell: msys2 {0}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: msys2/setup-msys2@v2
|
- uses: msys2/setup-msys2@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -37,7 +37,7 @@ jobs:
|
||||||
apt-get -y purge clang gcc gdc
|
apt-get -y purge clang gcc gdc
|
||||||
apt-get -y autoremove
|
apt-get -y autoremove
|
||||||
python3 -m pip install coverage codecov
|
python3 -m pip install coverage codecov
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: bash -c 'source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./tools/run_with_cov.py ./run_tests.py $CI_ARGS --cross ubuntu-armhf.json --cross-only'
|
run: bash -c 'source /ci/env_vars.sh; cd $GITHUB_WORKSPACE; ./tools/run_with_cov.py ./run_tests.py $CI_ARGS --cross ubuntu-armhf.json --cross-only'
|
||||||
- name: Upload coverage report
|
- name: Upload coverage report
|
||||||
|
|
|
@ -47,7 +47,7 @@ jobs:
|
||||||
MESON_CI_JOBNAME: linux-${{ matrix.cfg.id }}-gcc
|
MESON_CI_JOBNAME: linux-${{ matrix.cfg.id }}-gcc
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
# All environment variables are stored inside the docker image in /ci/env_vars.sh
|
# All environment variables are stored inside the docker image in /ci/env_vars.sh
|
||||||
# They are defined in the `env` section in each image.json. CI_ARGS should be set
|
# They are defined in the `env` section in each image.json. CI_ARGS should be set
|
||||||
|
@ -103,7 +103,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
@ -44,7 +44,7 @@ jobs:
|
||||||
linux:
|
linux:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
@ -62,7 +62,7 @@ jobs:
|
||||||
windows:
|
windows:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
|
|
|
@ -27,7 +27,7 @@ jobs:
|
||||||
HAS_SSH_KEY: ${{ secrets.WEBSITE_PRIV_KEY != '' }}
|
HAS_SSH_KEY: ${{ secrets.WEBSITE_PRIV_KEY != '' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Install package
|
- name: Install package
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get -y install python3-pip ninja-build libjson-glib-dev
|
sudo apt-get -y install python3-pip ninja-build libjson-glib-dev
|
||||||
|
|
Loading…
Reference in New Issue