add gha-update

This commit is contained in:
David Lord 2024-08-23 16:32:33 -07:00
parent 5353f306fe
commit 0f2ae2b933
No known key found for this signature in database
GPG key ID: 43368A7AA8CC5926
2 changed files with 24 additions and 9 deletions

View file

@ -118,3 +118,8 @@ ignore-init-module-imports = true
[tool.ruff.lint.isort]
force-single-line = true
order-by-type = false
[tool.gha-update]
tag-only = [
"slsa-framework/slsa-github-generator",
]

28
tox.ini
View file

@ -34,16 +34,26 @@ commands = mypy
deps = -r requirements/docs.txt
commands = sphinx-build -E -W -b dirhtml docs docs/_build/dirhtml
[testenv:update-actions]
labels = update
deps = gha-update
commands = gha-update
[testenv:update-pre_commit]
labels = update
deps = pre-commit
skip_install = true
commands = pre-commit autoupdate -j4
[testenv:update-requirements]
deps =
pip-tools
pre-commit
base_python = 3.12
labels = update
deps = pip-tools
skip_install = true
change_dir = requirements
commands =
pre-commit autoupdate -j4
pip-compile -U build.in
pip-compile -U docs.in
pip-compile -U tests.in
pip-compile -U typing.in
pip-compile -U dev.in
pip-compile build.in -q {posargs:-U}
pip-compile docs.in -q {posargs:-U}
pip-compile tests.in -q {posargs:-U}
pip-compile typing.in -q {posargs:-U}
pip-compile dev.in -q {posargs:-U}