Skip to content

Commit

Permalink
Merge pull request #146 from paullockaby/minor-updates
Browse files Browse the repository at this point in the history
fix(deps): updating poetry version and cleaning up docker
  • Loading branch information
plockaby authored Jan 12, 2025
2 parents 20056e7 + 5ae01ec commit fc29fa2
Show file tree
Hide file tree
Showing 5 changed files with 340 additions and 296 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

permissions:
contents: read
contents: write
packages: write

steps:
Expand All @@ -19,6 +19,9 @@ jobs:
- name: Configure Docker for multi-arch builds
uses: docker/setup-qemu-action@v3

- name: Set up Docker buildx for multi-arch builds
uses: docker/setup-buildx-action@v3

- name: Log in to the GitHub Container Registry
uses: docker/login-action@v3
with:
Expand All @@ -44,7 +47,7 @@ jobs:
poetry build --no-interaction
- name: Update release
uses: softprops/action-gh-release@v2.2.0
uses: softprops/action-gh-release@v2
with:
files: |
dist/*
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release-create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
# only run if the other jobs succeed
needs:
- tests
- security

permissions:
contents: write
Expand All @@ -55,7 +56,7 @@ jobs:
uses: commitizen-tools/[email protected]
with:
changelog: true
changelog_increment_filename: "CHANGELOG.md"
changelog_increment_filename: "changes.md"
git_redirect_stderr: true
increment: ${{ inputs.increment }}
prerelease: ${{ inputs.prerelease }}
Expand All @@ -66,9 +67,9 @@ jobs:
git push origin main --tags
- name: Create release
uses: softprops/action-gh-release@v2.2.0
uses: softprops/action-gh-release@v2
with:
body_path: "CHANGELOG.md"
body_path: "changes.md"
tag_name: "v${{ steps.cz.outputs.version }}"

- run: |
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ repos:
- id: detect-private-key
stages: [pre-commit]
- id: mixed-line-ending
exclude: "(^.idea/|.vscode/|docs/)"
exclude: "(^.idea/|.vscode/|docs/|CHANGELOG.md)"
stages: [pre-commit]
- id: trailing-whitespace
exclude: "(^.idea/|.vscode/|docs/)"
exclude: "(^.idea/|.vscode/|docs/|CHANGELOG.md)"
stages: [pre-commit]
- id: end-of-file-fixer
exclude: "(^.idea/|.vscode/|docs/)"
exclude: "(^.idea/|.vscode/|docs/|CHANGELOG.md)"
stages: [pre-commit]
- id: no-commit-to-branch
args: [--branch, main]
Expand Down Expand Up @@ -93,7 +93,7 @@ repos:
- pep8-naming

- repo: https://github.com/python-poetry/poetry
rev: 1.8.0
rev: 2.0.1
hooks:
- id: poetry-check
stages: [pre-commit]
Expand Down
Loading

0 comments on commit fc29fa2

Please sign in to comment.