@@ -64,11 +64,11 @@ jobs:
6464
6565 steps :
6666 - name : Checkout repository
67- uses : actions/checkout@v4
67+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6868
6969 # Initializes the CodeQL tools for scanning.
7070 - name : Initialize CodeQL
71- uses : github/codeql-action/init@v3
71+ uses : github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
7272 with :
7373 languages : ${{ matrix.target.language }}
7474 # If you wish to specify custom queries, you can do so here or in a config file.
8282 # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
8383 # If this step fails, then you should remove it and run the build manually (see below)
8484 - name : Autobuild
85- uses : github/codeql-action/autobuild@v3
85+ uses : github/codeql-action/autobuild@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
8686 with :
8787 working-directory : ${{ matrix.target.directory }}
8888 # There are no array literals in GHA that is why we need to use fromJson.
@@ -99,22 +99,22 @@ jobs:
9999 # ./location_of_script_within_repo/buildscript.sh
100100
101101 - name : Set up Java
102- uses : actions/setup-java@v4
102+ uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
103103 with :
104104 distribution : corretto
105105 java-version : ' 11'
106106 if : ${{ matrix.target.language == 'java' }}
107107
108108 - name : Setup Gradle
109- uses : gradle/actions/setup-gradle@v4
109+ uses : gradle/actions/setup-gradle@8379f6a1328ee0e06e2bb424dadb7b159856a326 # v4.4.0
110110
111111 - name : build Java
112112 run : ./gradlew build --no-build-cache
113113 working-directory : ${{ matrix.target.directory }}
114114 if : ${{ matrix.target.language == 'java' }}
115115
116116 - name : setup dotnet
117- uses : actions/setup-dotnet@v4
117+ uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
118118 with :
119119 dotnet-version : 6.x
120120 if : ${{ matrix.target.language == 'csharp' }}
@@ -126,6 +126,6 @@ jobs:
126126 if : ${{ matrix.target.language == 'csharp' }}
127127
128128 - name : Perform CodeQL Analysis
129- uses : github/codeql-action/analyze@v3
129+ uses : github/codeql-action/analyze@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
130130 with :
131131 category : " /language:${{matrix.target.language}}"
0 commit comments