Skip to content

Commit

Permalink
CI: update some actions to v3
Browse files Browse the repository at this point in the history
Node 12 is deprecated so let's switch to the newer version
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

Signed-off-by: Peter Hutterer <[email protected]>
  • Loading branch information
whot committed Dec 6, 2022
1 parent fe923e9 commit 0bf20b6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout the repo
uses: actions/checkout@v2
- uses: actions/setup-python@v1
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- run: pip install black
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
compiler: [ gcc, clang ]
steps:
- name: Checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- uses: linuxwacom/libwacom/.github/actions/pkginstall@master
with:
apt: $UBUNTU_PACKAGES
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: move tarball to top level
run: |
mv _build/xf86-input-wacom-*tar.bz2 .
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: tarball
path: xf86-input-wacom-*tar.bz2
Expand All @@ -69,7 +69,7 @@ jobs:
# https://github.com/mesonbuild/meson/issues/764
- '-Db_sanitize=address,undefined -Db_lundef=false'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: linuxwacom/libwacom/.github/actions/pkginstall@master
with:
apt: $UBUNTU_PACKAGES
Expand All @@ -81,7 +81,7 @@ jobs:
env:
CC: ${{matrix.compiler}}
# Capture all the meson logs, even if we failed
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: ${{ always() }} # even if we fail
with:
name: meson-test-logs-${{github.job}}-${{matrix.compiler}}-${{matrix.meson_options}}
Expand All @@ -92,7 +92,7 @@ jobs:
compile-with-meson-exact-version:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: linuxwacom/libwacom/.github/actions/pkginstall@master
with:
apt: $UBUNTU_PACKAGES
Expand All @@ -104,7 +104,7 @@ jobs:
with:
meson_args: -Dauto_features=enabled
# Capture all the meson logs, even if we failed
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: ${{ always() }} # even if we fail
with:
name: meson-test-logs-${{github.job}}
Expand All @@ -127,7 +127,7 @@ jobs:
with:
apt: $UBUNTU_PACKAGES
- name: fetch tarball from previous job(s)
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: tarball
- name: extract tarball
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
apt: $UBUNTU_PACKAGES
pip: $PIP_PACKAGES
- name: fetch tarball from previous job(s)
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: tarball
- name: extract tarball
Expand All @@ -172,7 +172,7 @@ jobs:
meson_args: -Dauto_features=enabled --prefix="$INSTALLDIR"
ninja_args: test
# Capture all the meson logs, even if we failed
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: ${{ always() }} # even if we fail
with:
name: tarball-build-meson-test-logs
Expand All @@ -187,9 +187,9 @@ jobs:
TARBALLDIR: '_tarball_dir'
steps:
- name: Checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: fetch tarball from previous job(s)
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: tarball
- name: list git files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if: ${{ github.repository == '$COVERITY_SCAN_PROJECT_NAME' }}
steps:
- name: Checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up build environment / dependencies
run: |
Expand Down

0 comments on commit 0bf20b6

Please sign in to comment.