Skip to content

Commit d95692b

Browse files
fix: update GitHub Actions to use correct commit SHAs
- Fix actions/checkout to use correct v4 commit SHA - Fix actions/upload-artifact to use correct v4 commit SHA - Fix actions/cache to use correct v4 commit SHA - Resolve CI failures caused by invalid action commit SHAs This fixes the 'action could not be found' errors in CI jobs.
1 parent 854c1f1 commit d95692b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
matrix:
1818
python-version: ['3.10', '3.11', '3.12']
1919
steps:
20-
- uses: actions/checkout@b4ffde65d4633638af81f9bc7b73d6454b4312c4 # v4
20+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
2121
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
2222
with:
2323
python-version: ${{ matrix.python-version }}
@@ -55,7 +55,7 @@ jobs:
5555
matrix:
5656
python-version: ['3.10', '3.11', '3.12']
5757
steps:
58-
- uses: actions/checkout@b4ffde65d4633638af81f9bc7b73d6454b4312c4 # v4
58+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
5959
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
6060
with:
6161
python-version: ${{ matrix.python-version }}
@@ -81,7 +81,7 @@ jobs:
8181
security:
8282
runs-on: ubuntu-latest
8383
steps:
84-
- uses: actions/checkout@b4ffde65d4633638af81f9bc7b73d6454b4312c4 # v4
84+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
8585
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
8686
with:
8787
python-version: '3.12'
@@ -107,7 +107,7 @@ jobs:
107107
echo "Security audit completed. Check artifacts for results."
108108
- name: Upload security audit results
109109
if: always()
110-
uses: actions/upload-artifact@v4
110+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
111111
with:
112112
name: security-audit-results
113113
path: |
@@ -165,7 +165,7 @@ jobs:
165165
pre-commit:
166166
runs-on: ubuntu-latest
167167
steps:
168-
- uses: actions/checkout@b4ffde65d4633638af81f9bc7b73d6454b4312c4 # v4
168+
- uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4
169169
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
170170
with:
171171
python-version: '3.12'
@@ -176,7 +176,7 @@ jobs:
176176
requirements-files: 'requirements.txt'
177177
additional-paths: '~/.cache/pip-audit'
178178
- name: Cache pre-commit
179-
uses: actions/cache@v4
179+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
180180
with:
181181
path: ~/.cache/pre-commit
182182
key: ${{ runner.os }}-precommit-${{ hashFiles('.pre-commit-config.yaml') }}

0 commit comments

Comments
 (0)