Skip to content

Commit 9bd360a

Browse files
authored
Merge pull request #792 from hhatto/pin-depends-for-gha
chore: pin dependencies for GitHub Actions
2 parents 2b4ee22 + 0df463b commit 9bd360a

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,18 +36,18 @@ jobs:
3636

3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v6
39+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4040

4141
# Initializes the CodeQL tools for scanning.
4242
- name: Initialize CodeQL
43-
uses: github/codeql-action/init@v4
43+
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
4444
with:
4545
languages: ${{ matrix.language }}
4646

4747
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
4848
# If this step fails, then you should remove it and run the build manually (see below)
4949
- name: Autobuild
50-
uses: github/codeql-action/autobuild@v4
50+
uses: github/codeql-action/autobuild@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
5151

5252
- name: Perform CodeQL Analysis
53-
uses: github/codeql-action/analyze@v4
53+
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1

.github/workflows/python-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "pypy3.11"]
1919

2020
steps:
21-
- uses: actions/checkout@v6
21+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v6
23+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Install dependencies
@@ -47,7 +47,7 @@ jobs:
4747
python test/acid.py --pycodestyle= --line-range 289 925 test/vectors_example.py
4848
python test/test_suite.py
4949
- name: Upload coverage to Codecov
50-
uses: codecov/codecov-action@v6
50+
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
5151
if: matrix.python-version == 3.13 && success()
5252
with:
5353
fail_ci_if_error: true

.github/workflows/python-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
permissions:
1717
id-token: write
1818
steps:
19-
- uses: actions/checkout@v6
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020
- name: Set up Python
21-
uses: actions/setup-python@v6
21+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2222
with:
2323
python-version: '3.x'
2424
- name: Install dependencies
@@ -29,6 +29,6 @@ jobs:
2929
run: |
3030
python -m build
3131
- name: Publish distribution 📦 to PyPI
32-
uses: pypa/gh-action-pypi-publish@release/v1
32+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
3333
with:
3434
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)