summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2022-12-07 09:37:04 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2022-12-07 10:07:19 +1000
commitd31d03bdb70ba6d2ef333a6d9598ed98f2995c1b (patch)
treef8bae4555e3c9bdc81677e6d53d8feccea600411
parent56797c8ec5e28b6853b9b5a1bd1bbcdd6e491241 (diff)
downloadlibwacom-d31d03bdb70ba6d2ef333a6d9598ed98f2995c1b.tar.gz
CI: update some actions to newer versions
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/
-rw-r--r--.github/workflows/check-for-sysinfo.yml2
-rw-r--r--.github/workflows/freebsd.yml2
-rw-r--r--.github/workflows/main.yml28
-rw-r--r--.github/workflows/pages.yml4
4 files changed, 18 insertions, 18 deletions
diff --git a/.github/workflows/check-for-sysinfo.yml b/.github/workflows/check-for-sysinfo.yml
index 3d8cb67..63df9e5 100644
--- a/.github/workflows/check-for-sysinfo.yml
+++ b/.github/workflows/check-for-sysinfo.yml
@@ -6,7 +6,7 @@ jobs:
checksysinfo:
runs-on: ubuntu-20.04
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: tj-actions/changed-files@v11.9
id: added-files
with:
diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml
index cd28519..7c535f2 100644
--- a/.github/workflows/freebsd.yml
+++ b/.github/workflows/freebsd.yml
@@ -10,7 +10,7 @@ jobs:
freebsd:
runs-on: macos-12
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: meson test
uses: vmactions/freebsd-vm@v0
with:
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 0879387..3b1d551 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -21,9 +21,9 @@ jobs:
# https://github.com/mesonbuild/meson/issues/764
- '-Db_sanitize=address,undefined -Db_lundef=false'
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
# install python so we get pip for meson
- - uses: actions/setup-python@v1
+ - uses: actions/setup-python@v4
with:
python-version: '3.8'
- uses: ./.github/actions/pkginstall
@@ -42,7 +42,7 @@ jobs:
with:
ninja_args: dist
# 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-${{matrix.compiler}} ${{matrix.meson_options}}
@@ -53,7 +53,7 @@ jobs:
- name: move tarballs to top level
run: mv builddir/meson-dist/libwacom-*tar.xz .
# We only need one tarball for the build-from-tarball job
- - uses: actions/upload-artifact@v2
+ - uses: actions/upload-artifact@v3
if: ${{ matrix.compiler == 'gcc' && matrix.meson_options == '' }}
with:
name: tarball
@@ -65,9 +65,9 @@ jobs:
valgrind:
runs-on: ubuntu-20.04
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
# install python so we get pip for meson
- - uses: actions/setup-python@v1
+ - uses: actions/setup-python@v4
with:
python-version: '3.8'
- uses: ./.github/actions/pkginstall
@@ -83,7 +83,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-valgrind
@@ -108,9 +108,9 @@ jobs:
- sudo csplit data/libwacom.stylus '/^\[0x822\]/' && sudo mv xx00 /etc/libwacom/first.stylus && sudo mv xx01 /usr/share/libwacom/libwacom.stylus
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
# install python so we get pip for meson
- - uses: actions/setup-python@v1
+ - uses: actions/setup-python@v4
with:
python-version: '3.8'
# Run as sudo because we install to /etc and thus need the pip
@@ -142,9 +142,9 @@ jobs:
needs: build-and-dist
runs-on: ubuntu-20.04
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
# install python so we get pip for meson
- - uses: actions/setup-python@v1
+ - uses: actions/setup-python@v4
with:
python-version: '3.8'
# Run as sudo because we install to /etc and thus need the pip
@@ -193,9 +193,9 @@ jobs:
TARBALLDIR: '_tarball_dir'
INSTALLDIR: '/tmp/libwacom/_inst'
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: install python
- uses: actions/setup-python@v1
+ uses: actions/setup-python@v4
with:
python-version: '3.8'
- uses: ./.github/actions/pkginstall
@@ -203,7 +203,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
diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml
index 780bdd8..5cfc39a 100644
--- a/.github/workflows/pages.yml
+++ b/.github/workflows/pages.yml
@@ -13,12 +13,12 @@ jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- uses: ./.github/actions/pkginstall
with:
apt: $UBUNTU_PACKAGES
# install python so we get pip for meson
- - uses: actions/setup-python@v1
+ - uses: actions/setup-python@v4
with:
python-version: '3.8'
- uses: ./.github/actions/pkginstall