Skip to content

Commit c5363c7

Browse files
committed
fix: safer github actions version usage
1 parent 108d2f4 commit c5363c7

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/package-testing.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
python-version: ["3.10-alpine", "3.11-alpine", "3.12-alpine", "3.13-alpine"]
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
2323

2424
- name: Setup and install uv
25-
uses: astral-sh/setup-uv@v5
25+
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57
2626
with:
27-
version: "0.6.4"
27+
version: "0.10.8"
2828

2929
- name: Setup python
3030
run: uv python install

.github/workflows/pypi-publish.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
runs-on: ubuntu-latest
2222

2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
2525
with:
2626
fetch-depth: 0
2727

2828
- name: Setup and Install uv
29-
uses: astral-sh/setup-uv@v5
29+
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57
3030
with:
31-
version: "0.6.4"
31+
version: "0.10.8"
3232

3333
- name: Set up Python
3434
run: uv python install
@@ -67,7 +67,7 @@ jobs:
6767
uv build
6868
6969
- name: pypi-publish
70-
uses: pypa/gh-action-pypi-publish@v1.12.3
70+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b
7171
with:
7272
password: ${{ secrets.pypi_token }}
7373
skip-existing: false

0 commit comments

Comments
 (0)