Skip to content

Commit 0f28aae

Browse files
committed
Pin setup-python action to a commit hash
1 parent 8c01615 commit 0f28aae

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/cron-ci.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ jobs:
3030

3131
- uses: dtolnay/rust-toolchain@stable
3232
- uses: taiki-e/install-action@cargo-llvm-cov
33-
- uses: actions/setup-python@v6.2.0
33+
34+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3435
with:
3536
python-version: ${{ env.PYTHON_VERSION }}
37+
3638
- run: sudo apt-get update && sudo apt-get -y install lcov
3739
- name: Run cargo-llvm-cov with Rust tests.
3840
run: cargo llvm-cov --no-report --workspace --exclude rustpython_wasm --exclude rustpython-compiler-source --exclude rustpython-venvlauncher --verbose --no-default-features --features stdlib,importlib,encodings,ssl-rustls,jit
@@ -48,7 +50,8 @@ jobs:
4850
if: ${{ github.event_name != 'pull_request' }}
4951
uses: codecov/codecov-action@v5
5052
with:
51-
file: ./codecov.lcov
53+
files: |
54+
./codecov.lcov
5255
5356
testdata:
5457
name: Collect regression test data
@@ -96,9 +99,11 @@ jobs:
9699
persist-credentials: true
97100

98101
- uses: dtolnay/rust-toolchain@stable
99-
- uses: actions/setup-python@v6.2.0
102+
103+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
100104
with:
101105
python-version: ${{ env.PYTHON_VERSION }}
106+
102107
- name: build rustpython
103108
run: cargo build --release --verbose
104109
- name: Collect what is left data
@@ -157,9 +162,11 @@ jobs:
157162
persist-credentials: true
158163

159164
- uses: dtolnay/rust-toolchain@stable
160-
- uses: actions/setup-python@v6.2.0
165+
166+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
161167
with:
162168
python-version: ${{ env.PYTHON_VERSION }}
169+
163170
- run: cargo install cargo-criterion
164171
- name: build benchmarks
165172
run: cargo build --release --benches

0 commit comments

Comments
 (0)