Skip to content

Commit 5fb4191

Browse files
committed
HHH-19341 Update GH action versions
so that we do not use the outdated ones that aren't available anymore
1 parent 1cbb53d commit 5fb4191

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.github/workflows/codeql.yml

Lines changed: 5 additions & 5 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@v3
30+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3131

3232
# Initializes the CodeQL tools for scanning.
3333
- name: Initialize CodeQL
34-
uses: github/codeql-action/init@v2
34+
uses: github/codeql-action/init@7e3036b9cd87fc26dd06747b7aa4b96c27aaef3a # v3.28.4
3535
with:
3636
languages: ${{ matrix.language }}
3737
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -45,7 +45,7 @@ jobs:
4545
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
4646
# If this step fails, then you should remove it and run the build manually (see below)
4747
- name: Autobuild
48-
uses: github/codeql-action/autobuild@v2
48+
uses: github/codeql-action/autobuild@7e3036b9cd87fc26dd06747b7aa4b96c27aaef3a # v3.28.4
4949

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

6060
- name: Perform CodeQL Analysis
61-
uses: github/codeql-action/analyze@v2
61+
uses: github/codeql-action/analyze@7e3036b9cd87fc26dd06747b7aa4b96c27aaef3a # v3.28.4
6262
with:
63-
category: "/language:${{matrix.language}}"
63+
category: "/language:${{matrix.language}}"

.github/workflows/contributor-build.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
# Running with HANA requires at least 8GB memory just for the database, which we don't have on GH Actions runners
5050
# - rdbms: hana
5151
steps:
52-
- uses: actions/checkout@v2
52+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5353
with:
5454
persist-credentials: false
5555
- name: Reclaim Disk Space
@@ -59,16 +59,17 @@ jobs:
5959
RDBMS: ${{ matrix.rdbms }}
6060
run: ci/database-start.sh
6161
- name: Set up Java 8
62-
uses: actions/setup-java@v1
62+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
6363
with:
64-
java-version: 1.8
64+
distribution: 'temurin'
65+
java-version: '8'
6566
- name: Get year/month for cache key
6667
id: get-date
6768
run: |
6869
echo "::set-output name=yearmonth::$(/bin/date -u "+%Y-%m")"
6970
shell: bash
7071
- name: Cache Maven local repository
71-
uses: actions/cache@v2
72+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
7273
id: cache-maven
7374
with:
7475
path: |
@@ -83,12 +84,12 @@ jobs:
8384
run: ./ci/build-github.sh
8485
shell: bash
8586
- name: Upload test reports (if Gradle failed)
86-
uses: actions/upload-artifact@v4
87+
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
8788
if: failure()
8889
with:
8990
name: test-reports-java8-${{ matrix.rdbms }}
9091
path: |
9192
./**/target/reports/tests/
9293
./**/target/reports/checkstyle/
9394
- name: Omit produced artifacts from build cache
94-
run: ./ci/before-cache.sh
95+
run: ./ci/before-cache.sh

0 commit comments

Comments
 (0)