Skip to content

Commit 5041c2d

Browse files
authored
Merge pull request #218 from darac/renovate/pin-dependencies
chore(deps): pin dependencies
2 parents c3532d5 + 0259385 commit 5041c2d

File tree

5 files changed

+28
-28
lines changed

5 files changed

+28
-28
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ jobs:
4141

4242
steps:
4343
- name: Checkout repository
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@v3
47+
uses: github/codeql-action/init@fca7ace96b7d713c7035871441bd52efbe39e27e # v3
4848
with:
4949
languages: ${{ matrix.language }}
5050
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -55,7 +55,7 @@ jobs:
5555
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5656
# If this step fails, then you should remove it and run the build manually (see below)
5757
- name: Autobuild
58-
uses: github/codeql-action/autobuild@v3
58+
uses: github/codeql-action/autobuild@fca7ace96b7d713c7035871441bd52efbe39e27e # v3
5959

6060
# ℹ️ Command-line programs to run using the OS shell.
6161
# 📚 https://git.io/JvXDl
@@ -69,4 +69,4 @@ jobs:
6969
# make release
7070

7171
- name: Perform CodeQL Analysis
72-
uses: github/codeql-action/analyze@v3
72+
uses: github/codeql-action/analyze@fca7ace96b7d713c7035871441bd52efbe39e27e # v3

.github/workflows/readme-stars.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ jobs:
1414
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v4
18-
- uses: k2bd/advent-readme-stars@v1
17+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
18+
- uses: k2bd/advent-readme-stars@27bfdb5e0e611d0f006356cfe37dbfb505b0ee49 # v1
1919
with:
2020
leaderboardId: 197414
2121
sessionCookie: ${{ secrets.AOC_SESSION }}
2222
userId: 1594870
2323
- name: AoC-badges
24-
uses: J0B10/[email protected]
24+
uses: J0B10/aoc-badges-action@75cd611df531bd9aa0675cae13be418d73cbdf76 # v3.0.0
2525
with:
2626
leaderboard: https://adventofcode.com/2024/leaderboard/private/view/197414.json
2727
session: ${{ secrets.AOC_SESSION }}
2828
userid: 1594870
29-
- uses: stefanzweifel/git-auto-commit-action@v5
29+
- uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5
3030
with:
3131
commit_message: Update README stars
3232
file_pattern: README.md

.github/workflows/release-drafter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
# echo "GHE_HOST=${GITHUB_SERVER_URL##https:\/\/}" >> $GITHUB_ENV
3737

3838
# Drafts your next Release notes as Pull Requests are merged into "master"
39-
- uses: release-drafter/release-drafter@v6
39+
- uses: release-drafter/release-drafter@b1476f6e6eb133afa41ed8589daba6dc69b4d3f5 # v6
4040
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
4141
# with:
4242
# config-name: my-config.yml

.github/workflows/test.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
- macos-latest
3232
# - windows-latest
3333
steps:
34-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3535
with:
3636
fetch-depth: 0
3737

3838
- name: Setup UV
39-
uses: astral-sh/setup-uv@v6
39+
uses: astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v6
4040
with:
4141
activate-environment: true
4242

@@ -76,7 +76,7 @@ jobs:
7676
7777
- name: Upload JUnit results
7878
if: success() || failure()
79-
uses: actions/upload-artifact@v4
79+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
8080
with:
8181
name: junit-${{ matrix.os }}-${{ matrix.env }}
8282
path: |
@@ -86,7 +86,7 @@ jobs:
8686
retention-days: 1
8787

8888
- name: Publish Test Report
89-
uses: dorny/test-reporter@v2
89+
uses: dorny/test-reporter@890a17cecf52a379fc869ab770a71657660be727 # v2
9090
if: success() || failure()
9191
with:
9292
name: Tox Tests (${{ matrix.env }})
@@ -115,26 +115,26 @@ jobs:
115115
concurrency: release
116116
runs-on: ubuntu-latest
117117
steps:
118-
- uses: actions/checkout@v4
118+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
119119
with:
120120
fetch-depth: 0
121121

122122
- name: Obtain Project Version
123-
uses: SebRollen/[email protected]
123+
uses: SebRollen/toml-action@b1b3628f55fc3a28208d4203ada8b737e9687876 # v1.2.0
124124
id: proj-version
125125
with:
126126
file: pyproject.toml
127127
field: project.version
128128

129129
- name: Cache SonarQube packages
130-
uses: actions/cache@v4
130+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
131131
with:
132132
path: ~/.sonar/cache
133133
key: ${{ runner.os }}-sonar
134134
restore-keys: ${{ runner.os }}-sonar
135135

136136
- name: Download JUnit reports
137-
uses: actions/download-artifact@v4
137+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
138138
with:
139139
path: .
140140
merge-multiple: true
@@ -168,7 +168,7 @@ jobs:
168168
# the branch was updated. To keep PSR working with the configured release branches,
169169
# we force a checkout of the desired release branch but at the workflow sha HEAD.
170170
- name: Setup | Checkout Repository at workflow sha
171-
uses: actions/checkout@v4
171+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
172172
with:
173173
fetch-depth: 0
174174
ref: ${{ github.sha }}
@@ -178,7 +178,7 @@ jobs:
178178
git checkout -B ${{ github.ref_name }} ${{ github.sha }}
179179
180180
- name: Setup | Install UV
181-
uses: astral-sh/setup-uv@v6
181+
uses: astral-sh/setup-uv@f0ec1fc3b38f5e7cd731bb6ce540c5af426746bb # v6
182182
with:
183183
version: latest
184184
enable-cache: true
@@ -189,14 +189,14 @@ jobs:
189189
- name: Action | Semantic Version Release
190190
id: release
191191
# Adjust tag with desired version if applicable.
192-
uses: python-semantic-release/[email protected]
192+
uses: python-semantic-release/python-semantic-release@1a324000f2251a9e722e77b128bf72712653813f # v10.0.2
193193
with:
194194
github_token: ${{ secrets.GITHUB_TOKEN }}
195195
git_committer_name: "github-actions"
196196
git_committer_email: "[email protected]"
197197

198198
- name: Publish | Upload to GitHub Release Assets
199-
uses: python-semantic-release/[email protected]
199+
uses: python-semantic-release/publish-action@e5e3010f6a207cd5d6f5d3dccedbea355484ca02 # v10.0.2
200200
if: steps.release.outputs.released == 'true'
201201
with:
202202
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -218,7 +218,7 @@ jobs:
218218
id-token: write
219219

220220
steps:
221-
- uses: actions/checkout@v4
221+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
222222

223223
- name: Log in to the container registry
224224
uses: docker/login-action@6d4b68b490aef8836e8fb5e50ee7b3bdfa5894f0
@@ -235,15 +235,15 @@ jobs:
235235

236236
- name: Build and push Docker image
237237
id: push
238-
uses: docker/build-push-action@v6
238+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
239239
with:
240240
context: .
241241
push: ${{ github.event_name != 'pull_request' }}
242242
tags: ${{ steps.meta.outputs.tags }}
243243
labels: ${{ steps.meta.outputs.labels }}
244244

245245
- name: Generate artifact attestation
246-
uses: actions/attest-build-provenance@v2
246+
uses: actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2
247247
with:
248248
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
249249
subject-digest: ${{ steps.push.outputs.digest }}

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# syntax=docker/dockerfile:1.16
1+
# syntax=docker/dockerfile:1.16@sha256:e2dd261f92e4b763d789984f6eab84be66ab4f5f08052316d8eb8f173593acf7
22
# Keep this syntax directive! It's used to enable Docker BuildKit
33

4-
FROM ubuntu:noble AS build
4+
FROM ubuntu:noble@sha256:b59d21599a2b151e23eea5f6602f4af4d7d31c4e236d22bf0b62b86d2e386b8f AS build
55

66
SHELL ["sh", "-exc"]
77

@@ -27,7 +27,7 @@ apt-get install -qyy \
2727
apt-get clean
2828
EOT
2929

30-
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
30+
COPY --from=ghcr.io/astral-sh/uv:latest@sha256:4faec156e35a5f345d57804d8858c6ba1cf6352ce5f4bffc11b7fdebdef46a38 /uv /usr/local/bin/uv
3131

3232
# - Silence uv complaining about not being able to use hard links,
3333
# - tell uv to byte-compile packages for faster application startups,
@@ -75,7 +75,7 @@ RUN --mount=type=cache,target=/root/.cache \
7575

7676
##########################################################################
7777

78-
FROM ubuntu:noble
78+
FROM ubuntu:noble@sha256:b59d21599a2b151e23eea5f6602f4af4d7d31c4e236d22bf0b62b86d2e386b8f
7979
SHELL ["sh", "-exc"]
8080

8181
# Optional: add the application virtualenv to search path.

0 commit comments

Comments
 (0)