File tree Expand file tree Collapse file tree 3 files changed +14
-21
lines changed Expand file tree Collapse file tree 3 files changed +14
-21
lines changed Original file line number Diff line number Diff line change 88 runs-on : ubuntu-latest
99 steps :
1010 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
11+ with :
12+ persist-credentials : false
1113 - uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
1214 with :
1315 python-version : 3.x
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ jobs:
1010 hash : ${{ steps.hash.outputs.hash }}
1111 steps :
1212 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
13+ with :
14+ persist-credentials : false
1315 - uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
1416 with :
1517 python-version : ' 3.x'
16- cache : pip
17- cache-dependency-path : requirements*/*.txt
1818 - run : pip install -r requirements/build.txt
1919 # Use the commit date instead of the current date during the build.
2020 - run : echo "SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct)" >> $GITHUB_ENV
@@ -48,10 +48,11 @@ jobs:
4848 - name : create release
4949 run : >
5050 gh release create --draft --repo ${{ github.repository }}
51- ${{ github.ref_name }}
51+ $REF_NAME
5252 *.intoto.jsonl/* artifact/*
5353 env :
5454 GH_TOKEN : ${{ github.token }}
55+ REF_NAME : ${{ github.ref_name }}
5556 publish-pypi :
5657 needs : [provenance]
5758 # Wait for approval before attempting to upload to PyPI. This allows reviewing the
Original file line number Diff line number Diff line change @@ -24,28 +24,18 @@ jobs:
2424 - {name: Minimum Versions, python: '3.12', tox: py-min}
2525 - {name: Development Versions, python: '3.9', tox: py-dev}
2626 steps :
27- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28- - uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
27+ - uses : pallets/actions/tox@5c46d4abb052877fa7e84db0ceec21b33673559e
2928 with :
29+ environment : ${{ format('py{0}', matrix.python) }}
3030 python-version : ${{ matrix.python }}
31- allow-prereleases : true
32- cache : pip
33- cache-dependency-path : requirements*/*.txt
34- - run : pip install tox
35- - run : tox run -e ${{ matrix.tox || format('py{0}', matrix.python) }}
3631 typing :
3732 runs-on : ubuntu-latest
3833 steps :
39- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
40- - uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
34+ - uses : pallets/actions/tox@5c46d4abb052877fa7e84db0ceec21b33673559e
4135 with :
36+ environment : ' typing'
4237 python-version : ' 3.x'
43- cache : pip
44- cache-dependency-path : requirements*/*.txt
45- - name : cache mypy
46- uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
47- with :
48- path : ./.mypy_cache
49- key : mypy|${{ hashFiles('pyproject.toml') }}
50- - run : pip install tox
51- - run : tox run -e typing
38+ workflow :
39+ runs-on : ubuntu-latest
40+ steps :
41+ - uses : pallets/actions/zizmor@5c46d4abb052877fa7e84db0ceec21b33673559e
You can’t perform that action at this time.
0 commit comments