Skip to content

Commit e8bf85a

Browse files
deps: Pin dependencies
1 parent ea3fe0e commit e8bf85a

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ jobs:
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1919

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

2323
- name: Log in to Docker Hub
24-
uses: docker/login-action@v3
24+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
2525
with:
2626
username: ${{ secrets.DOCKERHUB_USERNAME }}
2727
password: ${{ secrets.DOCKERHUB_TOKEN }}
2828

2929
- name: Extract metadata
3030
id: meta
31-
uses: docker/metadata-action@v5
31+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5
3232
with:
3333
images: ancplua/createpdf.net
3434
tags: |
@@ -39,7 +39,7 @@ jobs:
3939
type=raw,value=net8-9-10
4040
4141
- name: Build and push Docker image
42-
uses: docker/build-push-action@v5
42+
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5
4343
with:
4444
context: .
4545
push: true

.github/workflows/nuget-publish.yml

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

2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2424

2525
- name: Optimize package icon
2626
run: |
@@ -57,7 +57,7 @@ jobs:
5757
EOF
5858
5959
- name: Setup .NET SDKs
60-
uses: actions/setup-dotnet@v4
60+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
6161
with:
6262
dotnet-version: |
6363
8.0.x
@@ -83,7 +83,7 @@ jobs:
8383

8484
- name: Authenticate with NuGet
8585
id: nuget-auth
86-
uses: NuGet/login@v1
86+
uses: NuGet/login@8d196754b4036150537f80ac539e15c2f1028841 # v1
8787
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
8888
with:
8989
user: ANcpLua

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212

1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v4
15+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1616

1717
- name: Setup .NET SDKs
18-
uses: actions/setup-dotnet@v4
18+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
1919
with:
2020
dotnet-version: |
2121
8.0.x
@@ -40,7 +40,7 @@ jobs:
4040
--logger:"console;verbosity=detailed"
4141
4242
- name: Upload coverage to Codecov
43-
uses: codecov/codecov-action@v5
43+
uses: codecov/codecov-action@0fb7174895f61a3b6b78fc075e0cd60383518dac # v5
4444
with:
4545
token: ${{ secrets.CODECOV_TOKEN }}
4646
files: ./CreatePdf.NET.Tests/TestResults/**/coverage.cobertura.xml

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:10.0@sha256:548d93f8a18a1acbe6cc127bc4f47281430d34a9e35c18afa80a8d6741c2adc3 AS build
22

33
WORKDIR /app
44

0 commit comments

Comments
 (0)