@@ -45,12 +45,12 @@ jobs:
4545
4646 steps :
4747 - name : Clone the repo
48- uses : actions/checkout@v4
48+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4949 with :
5050 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
5151
5252 - name : Set up .NET
53- uses : actions/setup-dotnet@v4
53+ uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
5454 with :
5555 dotnet-version : 9.0.x
5656
@@ -71,10 +71,10 @@ jobs:
7171 version_suffix_args : ${{ github.event_name != 'release' && format('--version-suffix "{0}"', inputs.version_suffix_override || format('ci.{0}', github.run_number)) || '' }}
7272
7373 steps :
74- - uses : actions/checkout@v4
74+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
7575
7676 - name : Setup .NET
77- uses : actions/setup-dotnet@v2
77+ uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
7878 with :
7979 dotnet-version : |
8080 9.0.x
8787 --output "${{ github.workspace }}/artifacts/packages"
8888
8989 - name : Upload artifact
90- uses : actions/upload-artifact@v4
90+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
9191 if : ${{ !cancelled() }}
9292 with :
9393 name : build-artifacts
@@ -101,15 +101,15 @@ jobs:
101101 packages : write
102102
103103 steps :
104- - uses : actions/checkout@v4
104+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
105105
106106 - name : Setup .NET
107- uses : actions/setup-dotnet@v2
107+ uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
108108 with :
109109 dotnet-version : 9.0.x
110110
111111 - name : Download build artifacts
112- uses : actions/download-artifact@v4
112+ uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
113113
114114 - name : Authenticate to GitHub registry
115115 run : dotnet nuget add source
@@ -136,15 +136,15 @@ jobs:
136136 packages : write
137137
138138 steps :
139- - uses : actions/checkout@v4
139+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
140140
141141 - name : Setup .NET
142- uses : actions/setup-dotnet@v2
142+ uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
143143 with :
144144 dotnet-version : 9.0.x
145145
146146 - name : Download build artifacts
147- uses : actions/download-artifact@v4
147+ uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
148148
149149 - name : Upload release asset
150150 run : gh release upload ${{ github.event.release.tag_name }}
@@ -159,15 +159,15 @@ jobs:
159159 runs-on : ubuntu-latest
160160
161161 steps :
162- - uses : actions/checkout@v4
162+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
163163
164164 - name : Setup .NET
165- uses : actions/setup-dotnet@v2
165+ uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
166166 with :
167167 dotnet-version : 9.0.x
168168
169169 - name : Download build artifacts
170- uses : actions/download-artifact@v4
170+ uses : actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
171171
172172 - name : Publish to NuGet.org (Releases only)
173173 run : dotnet nuget push
0 commit comments