@@ -12,13 +12,13 @@ jobs:
1212 if : ((github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false) || github.event_name == 'push') && github.repository_owner == 'Altinn' && github.actor != 'dependabot[bot]'
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v4
15+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1616 - name : Set inotify watchers
1717 run : echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
1818 - name : Set inotify instances
1919 run : echo fs.inotify.max_user_instances=8192 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
2020 - name : Setup .NET
21- uses : actions/setup-dotnet@v4
21+ uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
2222 with :
2323 dotnet-version : |
2424 8.0.x
@@ -32,27 +32,27 @@ jobs:
3232 runs-on : windows-latest
3333 steps :
3434 - name : Setup .NET
35- uses : actions/setup-dotnet@v4
35+ uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4
3636 with :
3737 dotnet-version : |
3838 8.0.x
3939 - name : Set up JDK 11
40- uses : actions/setup-java@v4
40+ uses : actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
4141 with :
4242 distribution : ' microsoft'
4343 java-version : 17
44- - uses : actions/checkout@v4
44+ - uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
4545 with :
4646 fetch-depth : 0 # Shallow clones should be disabled for a better relevancy of analysis
4747 - name : Cache SonarCloud packages
48- uses : actions/cache@v4
48+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
4949 with :
5050 path : ~\sonar\cache
5151 key : ${{ runner.os }}-sonar
5252 restore-keys : ${{ runner.os }}-sonar
5353 - name : Cache SonarCloud scanner
5454 id : cache-sonar-scanner
55- uses : actions/cache@v4
55+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
5656 with :
5757 path : .\.sonar\scanner
5858 key : ${{ runner.os }}-sonar-scanner
0 commit comments