File tree Expand file tree Collapse file tree 3 files changed +30
-8
lines changed
Expand file tree Collapse file tree 3 files changed +30
-8
lines changed Original file line number Diff line number Diff line change 44 push :
55 pull_request :
66
7+
78permissions :
89 contents : read
910
1011jobs :
1112 pre-commit :
12- uses : python-social-auth/social-core/.github/workflows/pre-commit-shared.yml@master
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
17+ with :
18+ persist-credentials : false
19+
20+ - uses : actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
21+ with :
22+ path : ~/.cache/prek
23+ key : ${{ runner.os }}-prek-${{ hashFiles('.pre-commit-config.yaml', 'requirements*.txt') }}
24+
25+ - name : Setup Python
26+ uses : actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
27+ with :
28+ python-version : 3.x
29+
30+ - uses : astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0
31+
32+ - run : uvx prek run --all-files
33+ env :
34+ RUFF_OUTPUT_FORMAT : github
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
1313 permissions :
1414 id-token : write
1515 steps :
16- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 .0.0
16+ - uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 .0.1
1717 with :
1818 persist-credentials : false
19- - uses : astral-sh/setup-uv@2ddd2b9cb38ad8efd50337e8ab201519a34c9f24 # v7.1.1
19+ - uses : astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.2.0
2020
2121 - run : uv build
2222
3232 source .venv-install-tar/bin/activate
3333 uv pip install dist/*.tar.gz
3434
35- - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
35+ - uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
3636 if : github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
3737 with :
3838 name : dist
Original file line number Diff line number Diff line change 1717 - id : pretty-format-json
1818 args : [--no-sort-keys, --autofix, --no-ensure-ascii]
1919- repo : https://github.com/astral-sh/ruff-pre-commit
20- rev : v0.14.2
20+ rev : v0.14.13
2121 hooks :
2222 - id : ruff-check
2323 args : [--fix, --exit-non-zero-on-fix]
2727 - id : check-hooks-apply
2828 - id : check-useless-excludes
2929- repo : https://github.com/macisamuele/language-formatters-pre-commit-hooks
30- rev : v2.15 .0
30+ rev : v2.16 .0
3131 hooks :
3232 - id : pretty-format-yaml
3333 args : [--autofix, --indent, '2']
@@ -52,10 +52,10 @@ repos:
5252 additional_dependencies :
5353 - tomli
5454- repo : https://github.com/rhysd/actionlint
55- rev : v1.7.8
55+ rev : v1.7.10
5656 hooks :
5757 - id : actionlint
5858- repo : https://github.com/zizmorcore/zizmor-pre-commit
59- rev : v1.16 .0
59+ rev : v1.21 .0
6060 hooks :
6161 - id : zizmor
You can’t perform that action at this time.
0 commit comments