Skip to content

Commit 5759d4d

Browse files
Pin dependencies
1 parent 211a845 commit 5759d4d

5 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ jobs:
2727

2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3131

3232
# Initializes the CodeQL tools for scanning.
3333
- name: Initialize CodeQL
34-
uses: github/codeql-action/init@v3
34+
uses: github/codeql-action/init@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3
3535
with:
3636
languages: ${{ matrix.language }}
3737
queries: security-extended,security-and-quality
@@ -44,7 +44,7 @@ jobs:
4444
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
4545
# If this step fails, then you should remove it and run the build manually (see below)
4646
- name: Autobuild
47-
uses: github/codeql-action/autobuild@v3
47+
uses: github/codeql-action/autobuild@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3
4848

4949
# ℹ️ Command-line programs to run using the OS shell.
5050
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -57,6 +57,6 @@ jobs:
5757
# ./location_of_script_within_repo/buildscript.sh
5858

5959
- name: Perform CodeQL Analysis
60-
uses: github/codeql-action/analyze@v3
60+
uses: github/codeql-action/analyze@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3
6161
with:
6262
category: "/language:${{matrix.language}}"

.github/workflows/dotnet-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ jobs:
1717
DOTNET_HOSTBUILDER__RELOADCONFIGONCHANGE: false
1818
steps:
1919
- name: Setup .NET
20-
uses: actions/setup-dotnet@v4
20+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
2121
with:
2222
dotnet-version: |
2323
6.0.x
2424
5.0.x
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2626
with:
2727
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
2828
- name: Build

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
build-pack:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1313
with:
1414
fetch-depth: 0
1515

1616
- name: Install dotnet6
17-
uses: actions/setup-dotnet@v4
17+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
1818
with:
1919
dotnet-version: |
2020
5.0.x

.github/workflows/test-and-analyze-fork.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
runs-on: windows-latest
1111
steps:
1212
- name: Setup .NET
13-
uses: actions/setup-dotnet@v4
13+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
1414
with:
1515
dotnet-version: |
1616
6.0.x
1717
5.0.x
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1919
with:
2020
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
2121

@@ -31,7 +31,7 @@ jobs:
3131
reportgenerator -reports:TestResults/**/coverage.cobertura.xml -targetdir:TestResults/Output/CoverageReport -reporttypes:Cobertura
3232
3333
- name: Archive code coverage results
34-
uses: actions/upload-artifact@v4
34+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
3535
with:
3636
name: code-coverage-report
3737
path: TestResults/Output/CoverageReport/
@@ -48,7 +48,7 @@ jobs:
4848
name: code-coverage-report
4949
path: dist/
5050
- name: Create Coverage Summary Report
51-
uses: irongut/CodeCoverageSummary@v1.3.0
51+
uses: irongut/CodeCoverageSummary@51cc3a756ddcd398d447c044c02cb6aa83fdae95 # v1.3.0
5252
with:
5353
filename: dist/Cobertura.xml
5454
badge: true
@@ -61,7 +61,7 @@ jobs:
6161
thresholds: '60 80'
6262

6363
- name: Add Coverage PR Comment
64-
uses: marocchino/sticky-pull-request-comment@v2
64+
uses: marocchino/sticky-pull-request-comment@52423e01640425a022ef5fd42c6fb5f633a02728 # v2
6565
with:
6666
recreate: true
6767
path: code-coverage-results.md

.github/workflows/test-and-analyze.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,28 @@ jobs:
1616
runs-on: windows-latest
1717
steps:
1818
- name: Setup .NET
19-
uses: actions/setup-dotnet@v4
19+
uses: actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
2020
with:
2121
dotnet-version: |
2222
6.0.x
2323
5.0.x
2424
- name: Set up JDK 11
25-
uses: actions/setup-java@v4
25+
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4
2626
with:
2727
distribution: 'zulu'
2828
java-version: 17
29-
- uses: actions/checkout@v4
29+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3030
with:
3131
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
3232
- name: Cache SonarCloud packages
33-
uses: actions/cache@v3
33+
uses: actions/cache@2f8e54208210a422b2efd51efaa6bd6d7ca8920f # v3
3434
with:
3535
path: ~\sonar\cache
3636
key: ${{ runner.os }}-sonar
3737
restore-keys: ${{ runner.os }}-sonar
3838
- name: Cache SonarCloud scanner
3939
id: cache-sonar-scanner
40-
uses: actions/cache@v3
40+
uses: actions/cache@2f8e54208210a422b2efd51efaa6bd6d7ca8920f # v3
4141
with:
4242
path: .\.sonar\scanner
4343
key: ${{ runner.os }}-sonar-scanner

0 commit comments

Comments
 (0)