Skip to content

Commit

Permalink
Merge pull request #6 from pinout-xyz/patch-ci-bitrot
Browse files Browse the repository at this point in the history
CI: Fix bitrot and deprecation warnings.
  • Loading branch information
Gadgetoid authored Apr 10, 2024
2 parents c350e28 + f0ab14b commit 5c6e5f5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ jobs:

env:
RELEASE_FILE: ${{ github.event.repository.name }}-${{ github.event.release.tag_name || github.sha }}-py${{ matrix.python }}
TERM: xterm-256color

steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

Expand All @@ -32,10 +33,10 @@ jobs:
- name: Build Packages
run: |
make dist
make build
- name: Upload Packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ env.RELEASE_FILE }}
path: dist/
6 changes: 4 additions & 2 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ jobs:
test:
name: linting & spelling
runs-on: ubuntu-latest
env:
TERM: xterm-256color
steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Python '3,11'
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: '3.11'

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ commands =
python -m build --no-isolation
python -m twine check dist/*
isort --check .
ruff --format=github .
ruff check --output-format=github .
codespell .
deps =
check-manifest
Expand Down

0 comments on commit 5c6e5f5

Please sign in to comment.