Skip to content

Commit

Permalink
ci: bump dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Zamarin <[email protected]>
  • Loading branch information
arthurzam committed Jan 26, 2024
1 parent 8433ddd commit c37b6bb
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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

Expand All @@ -53,4 +53,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
15 changes: 8 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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
Expand All @@ -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/[email protected].2
uses: joerick/[email protected].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
Expand All @@ -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
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand All @@ -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 }}
Expand All @@ -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'

Expand All @@ -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

0 comments on commit c37b6bb

Please sign in to comment.