@@ -61,11 +61,11 @@ jobs:
6161
6262 steps :
6363 - name : Checkout repository
64- uses : actions/checkout@v4
64+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6565
6666 # Initializes the CodeQL tools for scanning.
6767 - name : Initialize CodeQL
68- uses : github/codeql-action/init@v3
68+ uses : github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
6969 with :
7070 languages : ${{ matrix.target.language }}
7171 # If you wish to specify custom queries, you can do so here or in a config file.
7979 # Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
8080 # If this step fails, then you should remove it and run the build manually (see below)
8181 - name : Autobuild
82- uses : github/codeql-action/autobuild@v3
82+ uses : github/codeql-action/autobuild@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
8383 with :
8484 working-directory : ${{ matrix.target.directory }}
8585 # There are no array literals in GHA that is why we need to use fromJson.
@@ -96,22 +96,22 @@ jobs:
9696 # ./location_of_script_within_repo/buildscript.sh
9797
9898 - name : Set up Java
99- uses : actions/setup-java@v4
99+ uses : actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
100100 with :
101101 distribution : corretto
102102 java-version : ' 11'
103103 if : ${{ matrix.target.language == 'java' }}
104104
105105 - name : Setup Gradle
106- uses : gradle/actions/setup-gradle@v4
106+ uses : gradle/actions/setup-gradle@8379f6a1328ee0e06e2bb424dadb7b159856a326 # v4.4.0
107107
108108 - name : build Java
109109 run : ./gradlew build --no-build-cache
110110 working-directory : ${{ matrix.target.directory }}
111111 if : ${{ matrix.target.language == 'java' }}
112112
113113 - name : setup dotnet
114- uses : actions/setup-dotnet@v4
114+ uses : actions/setup-dotnet@67a3573c9a986a3f9c594539f4ab511d57bb3ce9 # v4.3.1
115115 with :
116116 dotnet-version : 6.x
117117 if : ${{ matrix.target.language == 'csharp' }}
@@ -123,6 +123,6 @@ jobs:
123123 if : ${{ matrix.target.language == 'csharp' }}
124124
125125 - name : Perform CodeQL Analysis
126- uses : github/codeql-action/analyze@v3
126+ uses : github/codeql-action/analyze@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
127127 with :
128128 category : " /language:${{matrix.target.language}}"
0 commit comments