Skip to content

Commit

Permalink
add timestamp to when badges were last generated
Browse files Browse the repository at this point in the history
  • Loading branch information
mxndtaylor committed Jun 2, 2024
1 parent e0ed1c1 commit 823baa9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ jobs:
git fetch origin "${GITHUB_HEAD_REF}"
git checkout "${GITHUB_HEAD_REF}"
pdm badges-only
git status
pdm timestamp > badges.txt
git commit -am "Update Badges"
git push
1 change: 1 addition & 0 deletions badges/timestamp.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1717336149
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ regression = "tox -e 'py38,py39,py310,py311,py312' --parallel"
fmt = "black {args:src/}"
lint = "flake8 {args:src/}"
typing = "mypy {args:src/}"
timestamp = {cmd="date +%s"}

[tool.pdm.scripts.style]
composite = [
Expand Down

0 comments on commit 823baa9

Please sign in to comment.