From 01c82058644dbe25dda84761e4a52e41206d5ade Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 14 Nov 2022 21:33:46 -0500 Subject: [PATCH] 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... --- .github/workflows/cygwin.yml | 2 +- .github/workflows/file_format.yml | 2 +- .github/workflows/images.yml | 2 +- .github/workflows/lint.yml | 6 +++--- .github/workflows/macos.yml | 6 +++--- .github/workflows/msys2.yml | 2 +- .github/workflows/nonative.yml | 2 +- .github/workflows/os_comp.yml | 4 ++-- .github/workflows/unusedargs_missingreturn.yml | 4 ++-- .github/workflows/website.yml | 2 +- 10 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml index 3ca41d0c9779..36ddb68460d6 100644 --- a/.github/workflows/cygwin.yml +++ b/.github/workflows/cygwin.yml @@ -43,7 +43,7 @@ jobs: - run: git config --global core.autocrlf input - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: cygwin/cygwin-install-action@master with: diff --git a/.github/workflows/file_format.yml b/.github/workflows/file_format.yml index 6de4734e30ed..429fc91107ad 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@v2 + - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.x' diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml index b220104aba29..655d478ce5d6 100644 --- a/.github/workflows/images.yml +++ b/.github/workflows/images.yml @@ -42,7 +42,7 @@ jobs: - { name: Ubuntu Bionic, id: bionic } - { name: Ubuntu Rolling, id: ubuntu-rolling } steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # Login to dockerhub - name: Docker login diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7f39163628f2..dea20d4c6678 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@v2 + - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.x' @@ -32,7 +32,7 @@ jobs: flake8: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.x' @@ -42,7 +42,7 @@ jobs: mypy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.x' diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 0f5aa8e8a6ee..a7f9f63c4251 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -27,7 +27,7 @@ jobs: unittests-appleclang: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.x' @@ -66,7 +66,7 @@ jobs: MESON_CI_JOBNAME: ${{ matrix.NAME }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # 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. @@ -100,7 +100,7 @@ jobs: Qt4macos: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.x' diff --git a/.github/workflows/msys2.yml b/.github/workflows/msys2.yml index 7e981f6293f0..fd60254e614c 100644 --- a/.github/workflows/msys2.yml +++ b/.github/workflows/msys2.yml @@ -60,7 +60,7 @@ jobs: shell: msys2 {0} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: msys2/setup-msys2@v2 with: diff --git a/.github/workflows/nonative.yml b/.github/workflows/nonative.yml index 1687d5ba91a0..32c232930d0f 100644 --- a/.github/workflows/nonative.yml +++ b/.github/workflows/nonative.yml @@ -37,7 +37,7 @@ jobs: apt-get -y purge clang gcc gdc apt-get -y autoremove python3 -m pip install coverage codecov - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - 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' - name: Upload coverage report diff --git a/.github/workflows/os_comp.yml b/.github/workflows/os_comp.yml index 2d2e9b74834a..21059c22c577 100644 --- a/.github/workflows/os_comp.yml +++ b/.github/workflows/os_comp.yml @@ -47,7 +47,7 @@ jobs: MESON_CI_JOBNAME: linux-${{ matrix.cfg.id }}-gcc steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Run tests # 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 @@ -103,7 +103,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Run tests shell: bash diff --git a/.github/workflows/unusedargs_missingreturn.yml b/.github/workflows/unusedargs_missingreturn.yml index d6cd06e87557..e7aef7aa6caa 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@v2 + - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.x' @@ -62,7 +62,7 @@ jobs: windows: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: python-version: '3.x' diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index e3d382198347..3fac07f58a96 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -27,7 +27,7 @@ jobs: HAS_SSH_KEY: ${{ secrets.WEBSITE_PRIV_KEY != '' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install package run: | sudo apt-get -y install python3-pip ninja-build libjson-glib-dev