Skip to content

Commit 89e7be0

Browse files
authored
.github/workflows: pin GitHub action versions (#631)
Pin versions of GitHub actions that are used in our workflows. Bumps an instance of actions/checkout from v3.x to v4.x. Bumps actions/setup-java from v3.x to v4.x. Updates #cleanup Signed-off-by: Mario Minardi <[email protected]>
1 parent fdaeda0 commit 89e7be0

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/android.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616

1717
steps:
1818
- name: Check out code
19-
uses: actions/checkout@v3
20-
- uses: actions/setup-go@v5
19+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
2121
with:
2222
go-version-file: "go.mod"
2323
- name: Switch to Java 17 # Note: 17 is pre-installed on ubuntu-latest
24-
uses: actions/setup-java@v3
24+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
2525
with:
2626
distribution: "temurin"
2727
java-version: "17"

.github/workflows/go_mod_tidy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919

2020
steps:
2121
- name: Check out code
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323

2424
- name: Set up Go
25-
uses: actions/setup-go@v5
25+
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
2626
with:
2727
cache: false
2828
go-version-file: go.mod

.github/workflows/license-headers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1818
- name: check license headers
1919
run: ./scripts/check_license_headers.sh .

0 commit comments

Comments
 (0)