Skip to content

Commit 2d540ea

Browse files
authored
chore: update github actions (#9922)
1 parent a7079ac commit 2d540ea

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed

.github/actions/bootstrap-poetry/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ outputs:
2323
runs:
2424
using: composite
2525
steps:
26-
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
26+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
2727
id: setup-python
2828
if: inputs.python-version != 'default'
2929
with:

.github/actions/poetry-install/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ runs:
2626
if: inputs.cache == 'true'
2727
shell: bash
2828

29-
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
29+
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
3030
id: cache
3131
if: inputs.cache == 'true'
3232
with:

.github/workflows/.tests-matrix.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ${{ inputs.runner }}
3232
if: inputs.run-mypy
3333
steps:
34-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
34+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3535
with:
3636
persist-credentials: false
3737

@@ -42,7 +42,7 @@ jobs:
4242

4343
- uses: ./.github/actions/poetry-install
4444

45-
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
45+
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
4646
with:
4747
path: .mypy_cache
4848
key: mypy-${{ runner.os }}-py${{ steps.bootstrap-poetry.outputs.python-version }}-${{ hashFiles('pyproject.toml', 'poetry.lock') }}
@@ -57,7 +57,7 @@ jobs:
5757
runs-on: ${{ inputs.runner }}
5858
if: inputs.run-pytest
5959
steps:
60-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
60+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6161
with:
6262
persist-credentials: false
6363

@@ -81,7 +81,7 @@ jobs:
8181
runs-on: ${{ inputs.runner }}
8282
if: inputs.run-pytest-export
8383
steps:
84-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
84+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8585
with:
8686
persist-credentials: false
8787
path: poetry
@@ -98,7 +98,7 @@ jobs:
9898
id: poetry-plugin-export-version
9999

100100
- name: Check out poetry-plugin-export
101-
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
101+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
102102
with:
103103
persist-credentials: false
104104
path: poetry-plugin-export

.github/workflows/docs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,29 @@ jobs:
2525
contents: read
2626
pull-requests: write
2727
steps:
28-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
28+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2929
with:
3030
persist-credentials: false
3131
repository: python-poetry/website
3232

3333
# use .github from pull request target instead of pull_request.head
3434
# for pull_request_target trigger to avoid arbitrary code execution
35-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
35+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3636
with:
3737
persist-credentials: false
3838
path: poetry-github
3939
sparse-checkout: .github
4040

4141
# only checkout docs from pull_request.head to not use something else by accident
4242
# for pull_request_target trigger (security)
43-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
43+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4444
with:
4545
persist-credentials: false
4646
path: poetry-docs
4747
ref: ${{ github.event.pull_request.head.sha }}
4848
sparse-checkout: docs
4949

50-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
50+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
5151
with:
5252
node-version: "18"
5353

.github/workflows/release.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
name: Build
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
12+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1313
with:
1414
persist-credentials: false
1515

1616
- run: pipx run build
1717

18-
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
18+
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
1919
with:
2020
name: distfiles
2121
path: dist/
@@ -29,11 +29,11 @@ jobs:
2929
needs: build
3030
steps:
3131
# We need to be in a git repo for gh to work.
32-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
32+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3333
with:
3434
persist-credentials: false
3535

36-
- uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
36+
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
3737
with:
3838
name: distfiles
3939
path: dist/
@@ -53,11 +53,11 @@ jobs:
5353
id-token: write
5454
needs: build
5555
steps:
56-
- uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
56+
- uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
5757
with:
5858
name: distfiles
5959
path: dist/
6060

61-
- uses: pypa/gh-action-pypi-publish@81e9d935c883d0b210363ab89cf05f3894778450 # v1.8.14
61+
- uses: pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.3
6262
with:
6363
print-hash: true

.github/workflows/tests.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
src: ${{ steps.changes.outputs.src }}
2424
tests: ${{ steps.changes.outputs.tests }}
2525
steps:
26-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
26+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727
with:
2828
persist-credentials: false
2929

@@ -56,7 +56,7 @@ jobs:
5656
if: needs.changes.outputs.project == 'true'
5757
needs: changes
5858
steps:
59-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
59+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6060
with:
6161
persist-credentials: false
6262

@@ -70,7 +70,7 @@ jobs:
7070
if: needs.changes.outputs.project == 'true'
7171
needs: lockfile
7272
steps:
73-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
73+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7474
with:
7575
persist-credentials: false
7676

@@ -91,7 +91,7 @@ jobs:
9191
if: needs.changes.outputs.fixtures-pypi == 'true'
9292
needs: changes
9393
steps:
94-
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
94+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9595
with:
9696
persist-credentials: false
9797

0 commit comments

Comments
 (0)