Skip to content

Commit

Permalink
gh_actions for release not working with dynamic versioning (#26)
Browse files Browse the repository at this point in the history
* maybe gh action needs all the history

* autoupdate the pre-commit
  • Loading branch information
dgarnier authored Jul 2, 2023
1 parent ed594bf commit e3aa801
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Check out the repository
uses: actions/checkout@v3
with:
fetch-depth: 2
fetch-depth: 0

- name: Set up Python
uses: actions/[email protected]
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Install Poetry
run: |
pip install --constraint=.github/workflows/constraints.txt poetry
pip install --constraint=.github/workflows/constraints.txt poetry poetry-dynamic-versioning
poetry --version
- name: Check if there is a parent commit
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ repos:
types: [text]
stages: [commit, push, manual]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.6.0
rev: v3.0.0-alpha.9-for-vscode
hooks:
- id: prettier
4 changes: 2 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ coverage:
status:
project:
default:
target: "100"
target: "60"
patch:
default:
target: "100"
target: "60"
124 changes: 123 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ numba = "^0.57"
[tool.poetry.group.dev.dependencies]
poetry = "^1.5.1"
poetry_dynamic_versioning = "^0.24.0"
pre-commit = "^3.3.3"
nox = "^2023.4.22"
nox-poetry = "^1.0.0"
dunamai = "^1.17.0"
Expand Down

0 comments on commit e3aa801

Please sign in to comment.