aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-01-26 22:08:05 +0200
committerArthur Zamarin <arthurzam@gentoo.org>2024-01-26 22:08:05 +0200
commitc37b6bb37df37547902bf8d1425768db87d84e89 (patch)
treee7cd8d10a300b170e3da1f00c001e4422bb71a1f
parentgit-blame-ignore-revs: ignore black 24 format (diff)
downloadpkgcheck-c37b6bb37df37547902bf8d1425768db87d84e89.tar.gz
pkgcheck-c37b6bb37df37547902bf8d1425768db87d84e89.tar.bz2
pkgcheck-c37b6bb37df37547902bf8d1425768db87d84e89.zip
ci: bump dependencies
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--.github/workflows/doc.yml8
-rw-r--r--.github/workflows/release.yml15
-rw-r--r--.github/workflows/test.yml16
3 files changed, 19 insertions, 20 deletions
diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
index fa7d2df2..2ca20e41 100644
--- a/.github/workflows/doc.yml
+++ b/.github/workflows/doc.yml
@@ -19,10 +19,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Set up Python 3.11
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
with:
python-version: '3.11'
@@ -38,7 +38,7 @@ jobs:
touch build/sphinx/html/.nojekyll
- name: Upload artifact
- uses: actions/upload-pages-artifact@v1
+ uses: actions/upload-pages-artifact@v3
with:
path: build/sphinx/html
@@ -53,4 +53,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
- uses: actions/deploy-pages@v1
+ uses: actions/deploy-pages@v4
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a1de7e0c..79da0a62 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Set up Python 3.11
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
with:
python-version: "3.11"
@@ -39,7 +39,7 @@ jobs:
tar -ztf dist/*.tar.gz | sort
- name: Upload sdist artifact
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: dist
path: dist/*.tar.gz
@@ -54,22 +54,22 @@ jobs:
steps:
- name: Checkout code
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Set up QEMU
- uses: docker/setup-qemu-action@v2
+ uses: docker/setup-qemu-action@v3
with:
platforms: ${{matrix.arch}}
- name: Build wheels
- uses: joerick/cibuildwheel@v2.16.2
+ uses: joerick/cibuildwheel@v2.16.3
with:
output-dir: dist
env:
CIBW_ARCHS_LINUX: ${{matrix.arch}}
- name: Upload wheel artifacts
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: dist
path: dist/*.whl
@@ -91,6 +91,7 @@ jobs:
with:
name: dist
path: dist
+ merge-multiple: true
- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 227444a5..cf09c3e3 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -42,7 +42,7 @@ jobs:
steps:
- name: Checkout code
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
# experimental targets generally lack lxml wheels
- name: Install libxml2 and libxslt development packages
@@ -86,7 +86,7 @@ jobs:
popd
- name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
@@ -100,8 +100,7 @@ jobs:
- name: Test with pytest
env:
PY_COLORS: 1 # forcibly enable pytest colors
- run: |
- pytest --cov --cov-report=term --cov-report=xml -v
+ run: pytest --cov --cov-report=term --cov-report=xml -v
- name: Check whether bundled tree-sitter-bash was built
if: ${{ matrix.os == 'ubuntu-latest' && matrix.tree-sitter-bash }}
@@ -123,10 +122,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Set up Python 3
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v5
with:
python-version: '3.x'
@@ -136,12 +135,11 @@ jobs:
pip install . pylint
- name: Run linting tools
- run: |
- pylint --exit-zero src/pkgcheck
+ run: pylint --exit-zero src/pkgcheck
format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- uses: psf/black@stable