Skip to content

Commit

Permalink
Update all dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Platform Engineering Bot <[email protected]>
  • Loading branch information
platform-engineering-bot committed Feb 19, 2024
1 parent 8f52711 commit 0beeac8
Show file tree
Hide file tree
Showing 4 changed files with 157 additions and 155 deletions.
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-22.04
steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- 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@v4
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
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@v3
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
if: failure()
with:
name: logs
path: "*.log"
- name: Cache the virtualenv
uses: actions/cache@v3
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4
with:
path: ./.venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock') }}
Expand Down Expand Up @@ -82,13 +82,13 @@ jobs:
- name: Build
run: poetry build
- name: Upload dist artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
with:
name: dist-${{ matrix.python-version }}
path: dist
if-no-files-found: error
- name: Upload coverage HTML artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
with:
name: coverage
path: htmlcov
Expand All @@ -101,9 +101,9 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe # v4
with:
name: dist-${{ matrix.python-version }}
path: dist
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ repos:
- id: check-added-large-files
- id: check-toml
- repo: https://github.com/python/black
rev: 23.11.0
rev: 24.2.0
hooks:
- id: black
name: black (python3)
language_version: python3
args: ["--check"]
- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
name: isort (python3)
Expand All @@ -36,6 +36,6 @@ repos:
hooks:
- id: shellcheck
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.37.0
rev: v0.39.0
hooks:
- id: markdownlint
Loading

0 comments on commit 0beeac8

Please sign in to comment.