commit: c37b6bb37df37547902bf8d1425768db87d84e89 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Fri Jan 26 20:08:05 2024 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Fri Jan 26 20:08:05 2024 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcheck.git/commit/?id=c37b6bb3
ci: bump dependencies Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> .github/workflows/doc.yml | 8 ++++---- .github/workflows/release.yml | 15 ++++++++------- .github/workflows/test.yml | 16 +++++++--------- 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