Skip to content

Commit 43b0a3b

Browse files
Pin dependencies
1 parent 4ba0965 commit 43b0a3b

File tree

8 files changed

+16
-16
lines changed

8 files changed

+16
-16
lines changed

.github/actions/install_requirements/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ runs:
2222
shell: bash
2323

2424
- name: Setup python
25-
uses: actions/setup-python@v5
25+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
2626
with:
2727
python-version: ${{ env.PYTHON_VERSION }}
2828

.github/workflows/_container.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@ jobs:
1111

1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1515
with:
1616
# Need this to get version number from last tag
1717
fetch-depth: 0
1818

1919
- name: Set up Docker Buildx
2020
id: buildx
21-
uses: docker/setup-buildx-action@v3
21+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
2222

2323
- name: Log in to GitHub Docker Registry
2424
if: github.event_name != 'pull_request'
25-
uses: docker/login-action@v3
25+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
2626
with:
2727
registry: ghcr.io
2828
username: ${{ github.actor }}
2929
password: ${{ secrets.GITHUB_TOKEN }}
3030

3131
- name: Build and export to Docker local cache
32-
uses: docker/build-push-action@v6
32+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
3333
env:
3434
DOCKER_BUILD_RECORD_UPLOAD: false
3535
with:
@@ -43,7 +43,7 @@ jobs:
4343

4444
- name: Create tags for publishing image
4545
id: meta
46-
uses: docker/metadata-action@v5
46+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5
4747
with:
4848
images: ghcr.io/${{ github.repository }}
4949
tags: |
@@ -52,7 +52,7 @@ jobs:
5252
5353
- name: Push cached image to container registry
5454
if: inputs.publish && github.ref_type == 'tag'
55-
uses: docker/build-push-action@v6
55+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
5656
env:
5757
DOCKER_BUILD_RECORD_UPLOAD: false
5858
# This does not build the image again, it will find the image in the

.github/workflows/_dist.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77

88
steps:
99
- name: Checkout
10-
uses: actions/checkout@v4
10+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1111
with:
1212
# Need this to get version number from last tag
1313
fetch-depth: 0
@@ -18,7 +18,7 @@ jobs:
1818
pipx run build
1919
2020
- name: Upload sdist and wheel as artifacts
21-
uses: actions/upload-artifact@v4
21+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
2222
with:
2323
name: dist
2424
path: dist

.github/workflows/_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88

99
steps:
1010
- name: Download dist artifact
11-
uses: actions/download-artifact@v4
11+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
1212
with:
1313
name: dist
1414
path: dist

.github/workflows/_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77

88
steps:
99
- name: Download artifacts
10-
uses: actions/download-artifact@v4
10+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
1111
with:
1212
merge-multiple: true
1313

.github/workflows/_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323

2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2727
with:
2828
# Need this to get version number from last tag
2929
fetch-depth: 0
@@ -38,7 +38,7 @@ jobs:
3838

3939
- if: inputs.python-version == 'dev'
4040
name: Upload dev-requirements.txt
41-
uses: actions/upload-artifact@v4
41+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
4242
with:
4343
name: dev-requirements
4444
path: /tmp/dev-requirements.txt
@@ -54,7 +54,7 @@ jobs:
5454
run: tox -e tests
5555

5656
- name: Upload coverage to Codecov
57-
uses: codecov/codecov-action@v5
57+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
5858
with:
5959
name: ${{ inputs.python-version }}/${{ inputs.runs-on }}
6060
files: cov.xml

.github/workflows/_tox.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1717

1818
- name: Install python packages
1919
uses: ./.github/actions/install_requirements

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The devcontainer should use the developer target and run as root with podman
22
# or docker with user namespaces.
3-
ARG PYTHON_VERSION=3.11
3+
ARG PYTHON_VERSION=3.11@sha256:ddc4560e6e692d47cc5e3109ea978d4a4f7d3ccab24557dedefd278563e2b1a2
44
FROM python:${PYTHON_VERSION} AS developer
55

66
# Add any system dependencies for the developer/build environment here

0 commit comments

Comments
 (0)