Skip to content

Commit dcac31d

Browse files
committed
Use the checkout action, version 4. More info in https://github.com/actions/checkout
1 parent 88db07b commit dcac31d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/java.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ jobs:
1414
check-java-exercises:
1515
runs-on: ubuntu-22.04
1616
steps:
17-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
17+
- name: Checkout the latest commit on the main branch
18+
uses: actions/checkout@v4
19+
with:
20+
ref: main
21+
1822
- uses: actions/wrapper-validation-action@v1
1923
- uses: actions/setup-java@v3
2024
with:

0 commit comments

Comments
 (0)