Skip to content

Commit 603af3d

Browse files
authored
ci: pin GitHub Actions to SHA digests (#263)
Refs #262
1 parent c0d5e70 commit 603af3d

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
runs-on: ${{ matrix.os }}
2626
steps:
2727
- name: Checkout
28-
uses: actions/checkout@v6
28+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2929
- name: Setup Python
30-
uses: actions/setup-python@v6
30+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
3131
with:
3232
python-version: ${{ matrix.python-version }}
33-
- uses: astral-sh/setup-uv@v7
33+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
3434
with:
3535
enable-cache: true
3636
- name: Sync
@@ -43,12 +43,12 @@ jobs:
4343
runs-on: ubuntu-latest
4444
steps:
4545
- name: Checkout
46-
uses: actions/checkout@v6
46+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
4747
- name: Setup Python
48-
uses: actions/setup-python@v6
48+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
4949
with:
5050
python-version: "3.11"
51-
- uses: astral-sh/setup-uv@v7
51+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
5252
with:
5353
enable-cache: true
5454
- name: Sync with lowest-direct resolution
@@ -59,19 +59,19 @@ jobs:
5959
runs-on: ubuntu-latest
6060
steps:
6161
- name: Checkout
62-
uses: actions/checkout@v6
62+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
6363
- name: Setup Python
64-
uses: actions/setup-python@v6
64+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
6565
with:
6666
python-version: "3.11"
67-
- uses: astral-sh/setup-uv@v7
67+
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
6868
with:
6969
enable-cache: true
7070
- name: Sync
7171
run: uv sync --all-extras
7272
- name: Test with coverage
7373
run: uv run pytest --cov=stac_asset
7474
- name: Upload coverage reports
75-
uses: codecov/codecov-action@v6
75+
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6
7676
env:
7777
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
id-token: write
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v6
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2323
- name: Setup Python
24-
uses: actions/setup-python@v6
24+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
2525
with:
2626
python-version: "3.11"
2727
- name: Install build
2828
run: pip install build
2929
- name: Build
3030
run: python -m build
3131
- name: Publish to PyPI
32-
uses: pypa/gh-action-pypi-publish@release/v1
32+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1

0 commit comments

Comments
 (0)