-
-
Notifications
You must be signed in to change notification settings - Fork 546
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -155,7 +155,7 @@ jobs: | |
Switch to using Python v${{ inputs.python-version }} | ||
by default | ||
id: python-install | ||
uses: actions/setup-python@v5 | ||
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5 | ||
Check warning on line 158 in .github/workflows/reusable-tox.yml GitHub Actions / pre-commit
Check warning on line 158 in .github/workflows/reusable-tox.yml GitHub Actions / pre-commit
Check warning on line 158 in .github/workflows/reusable-tox.yml GitHub Actions / 🧹 Linters / pre-commit@🐍3.13@ubuntu-latest
|
||
with: | ||
python-version: ${{ inputs.python-version }} | ||
|
@@ -165,7 +165,7 @@ jobs: | |
- name: Grab the source from Git | ||
if: >- | ||
contains(fromJSON('["pre-commit", "spellcheck-docs"]'), inputs.toxenv) | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | ||
Check warning on line 168 in .github/workflows/reusable-tox.yml GitHub Actions / pre-commit
Check warning on line 168 in .github/workflows/reusable-tox.yml GitHub Actions / pre-commit
Check warning on line 168 in .github/workflows/reusable-tox.yml GitHub Actions / 🧹 Linters / pre-commit@🐍3.13@ubuntu-latest
|
||
with: | ||
ref: ${{ github.event.inputs.release-committish }} | ||
- name: Retrieve the project source from an sdist inside the GHA artifact | ||
|
@@ -178,7 +178,7 @@ jobs: | |
|
||
- name: Cache pre-commit.com virtualenvs | ||
if: inputs.toxenv == 'pre-commit' | ||
uses: actions/cache@v4 | ||
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4 | ||
Check warning on line 181 in .github/workflows/reusable-tox.yml GitHub Actions / pre-commit
Check warning on line 181 in .github/workflows/reusable-tox.yml GitHub Actions / pre-commit
Check warning on line 181 in .github/workflows/reusable-tox.yml GitHub Actions / 🧹 Linters / pre-commit@🐍3.13@ubuntu-latest
|
||
with: | ||
path: ~/.cache/pre-commit | ||
key: >- | ||
|
@@ -236,7 +236,7 @@ jobs: | |
shell: bash | ||
- name: Set up pip cache | ||
if: fromJSON(steps.py-abi.outputs.is-stable-abi) | ||
uses: actions/cache@v4 | ||
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4 | ||
Check warning on line 239 in .github/workflows/reusable-tox.yml GitHub Actions / pre-commit
Check warning on line 239 in .github/workflows/reusable-tox.yml GitHub Actions / pre-commit
Check warning on line 239 in .github/workflows/reusable-tox.yml GitHub Actions / 🧹 Linters / pre-commit@🐍3.13@ubuntu-latest
|
||
with: | ||
path: ${{ steps.pip-cache-dir.outputs.dir }} | ||
key: >- | ||
|
@@ -263,7 +263,7 @@ jobs: | |
- name: Download all the dists | ||
if: >- | ||
contains(fromJSON('["metadata-validation", "pytest"]'), inputs.toxenv) | ||
uses: actions/download-artifact@v4 | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4 | ||
Check failure on line 266 in .github/workflows/reusable-tox.yml GitHub Actions / pre-commit
Check failure on line 266 in .github/workflows/reusable-tox.yml GitHub Actions / pre-commit
Check failure on line 266 in .github/workflows/reusable-tox.yml GitHub Actions / pre-commit
Check failure on line 266 in .github/workflows/reusable-tox.yml GitHub Actions / 🧹 Linters / pre-commit@🐍3.13@ubuntu-latest
|
||
with: | ||
name: ${{ inputs.dists-artifact-name }} | ||
path: dist/ | ||
|
@@ -312,7 +312,7 @@ jobs: | |
if: >- | ||
!cancelled() | ||
&& steps.tox-run.outputs.test-result-files != '' | ||
uses: test-summary/[email protected] | ||
uses: test-summary/action@032c8a9cec6aaa3c20228112cae6ca10a3b29336 # v2.3 | ||
with: | ||
paths: >- | ||
${{ steps.tox-run.outputs.test-result-files }} | ||
|
@@ -329,7 +329,7 @@ jobs: | |
&& steps.tox-run.outputs.cov-report-files != '' | ||
&& steps.tox-run.outputs.test-result-files == '' | ||
&& steps.tox-run.outputs.codecov-flags != 'MyPy' | ||
uses: irongut/[email protected] | ||
uses: irongut/CodeCoverageSummary@51cc3a756ddcd398d447c044c02cb6aa83fdae95 # v1.3.0 | ||
Check failure on line 332 in .github/workflows/reusable-tox.yml GitHub Actions / pre-commit
Check failure on line 332 in .github/workflows/reusable-tox.yml GitHub Actions / pre-commit
Check failure on line 332 in .github/workflows/reusable-tox.yml GitHub Actions / pre-commit
Check failure on line 332 in .github/workflows/reusable-tox.yml GitHub Actions / 🧹 Linters / pre-commit@🐍3.13@ubuntu-latest
|
||
with: | ||
badge: true | ||
filename: >- | ||
|