ci: Update to checkout@v4 to squelch node warnings

Keep using v3 for Bionic because of https://github.com/mesonbuild/meson/pull/13424
pull/12194/merge
Nirbheek Chauhan 4 months ago committed by Nirbheek Chauhan
parent 1e26a88481
commit cc0332288a
  1. 2
      .github/workflows/codeql-analysis.yml
  2. 2
      .github/workflows/cygwin.yml
  3. 2
      .github/workflows/file_format.yml
  4. 1
      .github/workflows/images.yml
  5. 6
      .github/workflows/lint.yml
  6. 6
      .github/workflows/macos.yml
  7. 2
      .github/workflows/msys2.yml
  8. 2
      .github/workflows/nonnative.yml
  9. 5
      .github/workflows/os_comp.yml
  10. 2
      .github/workflows/stable_builddir.yml
  11. 4
      .github/workflows/unusedargs_missingreturn.yml
  12. 2
      .github/workflows/website.yml

@ -17,7 +17,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@v2 uses: github/codeql-action/init@v2

@ -49,7 +49,7 @@ jobs:
- run: git config --global core.autocrlf input - run: git config --global core.autocrlf input
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- 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@v3 - uses: actions/checkout@v4
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
with: with:
python-version: '3.x' python-version: '3.x'

@ -45,6 +45,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:
# Need v3 because of bionic
- uses: actions/checkout@v3 - uses: actions/checkout@v3
# Login to dockerhub # Login to dockerhub

@ -22,7 +22,7 @@ jobs:
pylint: pylint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- 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@v3 - uses: actions/checkout@v4
- 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@v3 - uses: actions/checkout@v4
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
with: with:
python-version: '3.x' python-version: '3.x'

@ -31,7 +31,7 @@ jobs:
unittests-appleclang: unittests-appleclang:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
with: with:
python-version: '3.x' python-version: '3.x'
@ -81,7 +81,7 @@ jobs:
HOMEBREW_NO_AUTO_UPDATE: 1 HOMEBREW_NO_AUTO_UPDATE: 1
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
# 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.
@ -132,7 +132,7 @@ jobs:
env: env:
HOMEBREW_NO_AUTO_UPDATE: 1 HOMEBREW_NO_AUTO_UPDATE: 1
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
with: with:
python-version: '3.x' python-version: '3.x'

@ -61,7 +61,7 @@ jobs:
shell: msys2 {0} shell: msys2 {0}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- 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 python3 -m pip install coverage
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- 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'

@ -54,6 +54,7 @@ jobs:
MESON_CI_JOBNAME: linux-${{ matrix.cfg.id }}-gcc MESON_CI_JOBNAME: linux-${{ matrix.cfg.id }}-gcc
steps: steps:
# Need v3 because of bionic
- uses: actions/checkout@v3 - 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
@ -80,7 +81,7 @@ jobs:
MESON_CI_JOBNAME_UPDATE: linux-arch-gcc-pypy MESON_CI_JOBNAME_UPDATE: linux-arch-gcc-pypy
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Run tests - name: Run tests
run: | run: |
source /ci/env_vars.sh source /ci/env_vars.sh
@ -134,7 +135,7 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Run tests - name: Run tests
shell: bash shell: bash

@ -14,7 +14,7 @@ jobs:
env: env:
TESTDIR: "manual tests/13 builddir upgrade" TESTDIR: "manual tests/13 builddir upgrade"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: install ninja - name: install ninja
run: sudo apt-get -y install build-essential ninja-build run: sudo apt-get -y install build-essential ninja-build
- name: Fetch tags and unshallow - name: Fetch tags and unshallow

@ -44,7 +44,7 @@ jobs:
linux: linux:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
with: with:
python-version: '3.x' python-version: '3.x'
@ -71,7 +71,7 @@ jobs:
windows: windows:
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- 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:
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@v3 - uses: actions/checkout@v4
- uses: actions/cache/restore@v3 - uses: actions/cache/restore@v3
id: restore-cache id: restore-cache

Loading…
Cancel
Save