Skip to content

Commit 0b8e75f

Browse files
committed
HBX-2956 Use SHA in the github actions workflow
1 parent 251b6e6 commit 0b8e75f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/build_test.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,18 @@ jobs:
99

1010
steps:
1111
- name: Checkout PR Branch
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1313
with:
1414
ref: ${{ github.event.pull_request.head.sha }}
1515
fetch-depth: 0
1616

1717
- name: Setup Java 17
18-
uses: actions/setup-java@v1
18+
uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0
1919
with:
2020
java-version: 17
21-
java-package: jdk
22-
architecture: x64
21+
distribution: temurin
2322

2423
- name: Build and Test
25-
uses: GabrielBB/xvfb-action@v1
26-
with:
24+
uses: GabrielBB/xvfb-action@b706e4e27b14669b486812790492dc50ca16b465 # v1.7
25+
with:
2726
run: ./mvnw clean install

0 commit comments

Comments
 (0)