Skip to content

Commit 208f83a

Browse files
committed
CI: pin actions by SHA
This eliminates the possibility of a tag being changed under us.
1 parent 59c3500 commit 208f83a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
path: ~/conda_pkgs_dir
3030
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('ci/environment-py${{ matrix.python-version }}.yml') }}
31-
- uses: conda-incubator/setup-miniconda@v3
31+
- uses: conda-incubator/setup-miniconda@505e6394dae86d6a5c7fbb6e3fb8938e3e863830 # v3
3232
with:
3333
# mamba-version: "*" # activate this to build with mamba.
3434
python-version: ${{ matrix.python-version }}
@@ -48,7 +48,7 @@ jobs:
4848
run: |
4949
pytest --cov=./ --cov-report=xml
5050
- name: Upload code coverage to Codecov
51-
uses: codecov/codecov-action@v4
51+
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
5252
with:
5353
file: ./coverage.xml
5454
flags: unittests

0 commit comments

Comments
 (0)