Skip to content

Commit c4f5494

Browse files
authored
Merge pull request #121 from jamesobutler/pin-github-actions
CI: Pin GitHub actions to full length commit SHA
2 parents 84663e1 + f32bbfc commit c4f5494

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ jobs:
1212
id-token: write
1313
steps:
1414
- name: Checkout repository
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1616
- name: Install uv
17-
uses: astral-sh/setup-uv@v6
17+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
1818
with:
1919
version: "0.7.2"
2020
- name: Setup Python
21-
uses: actions/setup-python@v5
21+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
2222
with:
2323
python-version-file: "pyproject.toml"
2424
- name: Build wheel and sdist
2525
run: uv build
2626
- name: Publish package distributions to PyPI
27-
uses: pypa/gh-action-pypi-publish@release/v1
27+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0

.github/workflows/run_unit_tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
]
2525

2626
steps:
27-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2828
- name: Set up Python ${{ matrix.python-version }}
29-
uses: actions/setup-python@v2
29+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
3030
with:
3131
python-version: ${{ matrix.python-version }}
3232
- name: Install uv
33-
uses: astral-sh/setup-uv@v6
33+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
3434
with:
3535
version: "0.7.2"
3636
- name: Install dependencies

0 commit comments

Comments
 (0)