From cc0332288aaf653cfb780591ba52502e556f43ab Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 26 Jul 2024 06:24:09 +0530 Subject: [PATCH] ci: Update to checkout@v4 to squelch node warnings Keep using v3 for Bionic because of https://github.com/mesonbuild/meson/pull/13424 --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/cygwin.yml | 2 +- .github/workflows/file_format.yml | 2 +- .github/workflows/images.yml | 1 + .github/workflows/lint.yml | 6 +++--- .github/workflows/macos.yml | 6 +++--- .github/workflows/msys2.yml | 2 +- .github/workflows/nonnative.yml | 2 +- .github/workflows/os_comp.yml | 5 +++-- .github/workflows/stable_builddir.yml | 2 +- .github/workflows/unusedargs_missingreturn.yml | 4 ++-- .github/workflows/website.yml | 2 +- 12 files changed, 19 insertions(+), 17 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 455a9d418..49a159cfd 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index c6f3dc416..a5a664648 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -49,7 +49,7 @@ jobs: - run: git config --global core.autocrlf input - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: cygwin/cygwin-install-action@master with: diff --git a/.github/workflows/file_format.yml b/.github/workflows/file_format.yml index 429fc9110..aa421100c 100644 --- a/.github/workflows/file_format.yml +++ b/.github/workflows/file_format.yml @@ -13,7 +13,7 @@ jobs: format: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.x' diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml index dd91898ef..d20f7e5ce 100644 --- a/.github/workflows/images.yml +++ b/.github/workflows/images.yml @@ -45,6 +45,7 @@ jobs: - { name: Ubuntu Bionic, id: bionic } - { name: Ubuntu Rolling, id: ubuntu-rolling } steps: + # Need v3 because of bionic - uses: actions/checkout@v3 # Login to dockerhub diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e8cd37341..8e4c4ced8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -22,7 +22,7 @@ jobs: pylint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.x' @@ -32,7 +32,7 @@ jobs: flake8: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.x' @@ -42,7 +42,7 @@ jobs: mypy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.x' diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 3b7263155..0217ac99f 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -31,7 +31,7 @@ jobs: unittests-appleclang: runs-on: macos-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.x' @@ -81,7 +81,7 @@ jobs: HOMEBREW_NO_AUTO_UPDATE: 1 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Avoid picking up an older version of LLVM that does not work. - run: brew update # github actions overwrites brew's python. Force it to reassert itself, by running in a separate step. @@ -132,7 +132,7 @@ jobs: env: HOMEBREW_NO_AUTO_UPDATE: 1 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.x' diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml index 278954c39..6d44989ab 100644 --- a/.github/workflows/msys2.yml +++ b/.github/workflows/msys2.yml @@ -61,7 +61,7 @@ jobs: shell: msys2 {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: msys2/setup-msys2@v2 with: diff --git a/.github/workflows/nonnative.yml b/.github/workflows/nonnative.yml index 1ad9e35bb..2712d1032 100644 --- a/.github/workflows/nonnative.yml +++ b/.github/workflows/nonnative.yml @@ -37,7 +37,7 @@ jobs: apt-get -y purge clang gcc gdc apt-get -y autoremove python3 -m pip install coverage - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - 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' diff --git a/.github/workflows/os_comp.yml b/.github/workflows/os_comp.yml index 4fa4a87ed..05e4f072d 100644 --- a/.github/workflows/os_comp.yml +++ b/.github/workflows/os_comp.yml @@ -54,6 +54,7 @@ jobs: MESON_CI_JOBNAME: linux-${{ matrix.cfg.id }}-gcc steps: + # Need v3 because of bionic - uses: actions/checkout@v3 - name: Run tests # 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 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run tests run: | source /ci/env_vars.sh @@ -134,7 +135,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run tests shell: bash diff --git a/.github/workflows/stable_builddir.yml b/.github/workflows/stable_builddir.yml index 5da321d18..ae2951801 100644 --- a/.github/workflows/stable_builddir.yml +++ b/.github/workflows/stable_builddir.yml @@ -14,7 +14,7 @@ jobs: env: TESTDIR: "manual tests/13 builddir upgrade" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: install ninja run: sudo apt-get -y install build-essential ninja-build - name: Fetch tags and unshallow diff --git a/.github/workflows/unusedargs_missingreturn.yml b/.github/workflows/unusedargs_missingreturn.yml index d823c310e..6c16fa33a 100644 --- a/.github/workflows/unusedargs_missingreturn.yml +++ b/.github/workflows/unusedargs_missingreturn.yml @@ -44,7 +44,7 @@ jobs: linux: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.x' @@ -71,7 +71,7 @@ jobs: windows: runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.x' diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 2c76d8784..206734e85 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -32,7 +32,7 @@ jobs: HAS_SSH_KEY: ${{ secrets.WEBSITE_PRIV_KEY != '' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/cache/restore@v3 id: restore-cache