1919 name : Test
2020 runs-on : ubuntu-latest
2121 steps :
22- - uses : actions/checkout@v5
22+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
24- - uses : actions/setup-python@v5
24+ - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2525 with :
2626 python-version : ' 3.11'
2727 cache : ' pip'
3737 python -m pytest src/tests/ -v --cov=src --cov-report=term-missing --cov-report=xml --junitxml=junit/test-results.xml
3838
3939 - name : Upload test results
40- uses : actions/upload-artifact@v4
40+ uses : actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
4141 if : always()
4242 with :
4343 name : pytest-results
@@ -50,13 +50,13 @@ jobs:
5050 needs : test
5151 runs-on : ubuntu-latest
5252 steps :
53- - uses : actions/checkout@v5
53+ - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5454
55- - uses : docker/setup-buildx-action@v3
55+ - uses : docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
5656
5757 - name : Login to GitHub Container Registry
5858 if : github.event_name == 'push'
59- uses : docker/login-action@v3
59+ uses : docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0
6060 with :
6161 registry : ${{ env.DOCKER_REGISTRY }}
6262 username : ${{ github.actor }}
6565 # PR: build only (no push) to validate Dockerfile — single platform for speed
6666 - name : Build Docker image (PR validation)
6767 if : github.event_name == 'pull_request'
68- uses : docker/build-push-action@v5
68+ uses : docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
6969 with :
7070 push : false
7171 load : true
7676 # Push to main: build multi-platform and push with rolling tags
7777 - name : Build and push Docker image
7878 if : github.event_name == 'push'
79- uses : docker/build-push-action@v5
79+ uses : docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
8080 with :
8181 push : true
8282 platforms : linux/amd64,linux/arm64
0 commit comments