Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Update version number
if: startsWith(github.ref, 'refs/tags/')
run: sed -i -e "s/0.0.0/${GITHUB_REF##*/}/" pyproject.toml
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: install python style and linting tools
Expand All @@ -47,13 +47,13 @@ jobs:
run: |
python -m poetry config virtualenvs.in-project true
- name: Upload logs on failure
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
if: failure()
with:
name: logs-${{ matrix.python-version }}
path: "*.log"
- name: Cache the virtualenv
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ./.venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock') }}
Expand Down Expand Up @@ -82,14 +82,14 @@ jobs:
- name: Build
run: poetry build
- name: Upload dist artifact
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: dist-${{ matrix.python-version }}
path: dist
if-no-files-found: error
- name: Upload coverage HTML artifact
if: ${{ matrix.python-version == vars.ARCALOT_PYTHON_VERSION }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: coverage-${{ matrix.python-version }}
path: htmlcov
Expand All @@ -102,9 +102,9 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v7
with:
name: dist-${{ vars.ARCALOT_PYTHON_VERSION }}
path: dist
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- id: check-toml
- repo: https://github.com/python/black
rev: 24.4.2
rev: 26.1.0
hooks:
- id: black
name: black (python3)
language_version: python3
args: ["--check"]
- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
rev: 7.3.0
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 7.0.0
hooks:
- id: isort
name: isort (python3)
language_version: python3
args: ["--check", "--profile=black"]
- repo: https://github.com/python-poetry/poetry
rev: 1.8.3
rev: 2.3.0
hooks:
- id: poetry-check
- id: poetry-lock
Expand All @@ -36,6 +36,6 @@ repos:
hooks:
- id: shellcheck
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.40.0
rev: v0.47.0
hooks:
- id: markdownlint
Loading