Skip to content

Commit 106dd47

Browse files
committed
ci: Use version tags for GH actions
1 parent 417489e commit 106dd47

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Diff for: .github/workflows/build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
os: [ubuntu-latest, macos-latest, windows-latest]
2222
steps:
2323
- name: Checkout the repo
24-
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
24+
uses: actions/checkout@v4
2525
- name: Setup Java
26-
uses: actions/setup-java@3b6c050358614dd082e53cdbc55580431fc4e437
26+
uses: actions/setup-java@v4
2727
with:
2828
distribution: 'corretto'
2929
java-version: ${{ matrix.java }}
@@ -40,16 +40,16 @@ jobs:
4040
os: [ubuntu-latest, macos-latest, windows-latest]
4141
steps:
4242
- name: Checkout the repo
43-
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
43+
uses: actions/checkout@v4
4444
- name: Setup Java
45-
uses: actions/setup-java@3b6c050358614dd082e53cdbc55580431fc4e437
45+
uses: actions/setup-java@v4
4646
with:
4747
distribution: 'zulu'
4848
java-version: ${{ matrix.java }}
4949
cache: maven
5050
- name: Test with Maven
5151
run: mvn -e --batch-mode verify -T 1C
5252
- name: Run Codecov
53-
uses: codecov/codecov-action@ea99328d1c4d5f39fda7cbffe104afd6906c50b0
53+
uses: codecov/codecov-action@v5
5454
with:
5555
token: ${{ secrets.CODECOV_TOKEN }}

Diff for: .github/workflows/publish.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout the repo
16-
uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2
16+
uses: actions/checkout@v4
1717
with:
1818
ref: ${{ github.event.release.target_commitish }}
1919
- name: Setup Java
20-
uses: actions/setup-java@3b6c050358614dd082e53cdbc55580431fc4e437
20+
uses: actions/setup-java@v4
2121
with:
2222
java-version: 21
2323
distribution: 'temurin'
@@ -38,7 +38,7 @@ jobs:
3838
name: Notify Release
3939
strategy:
4040
matrix:
41-
url: [SLACK_WEBHOOK_ASK_DEVREL_URL, SLACK_WEBHOOK_DEVREL_TOOLING_URL, SLACK_WEBHOOK_DEVREL_PRIVATE_URL, SLACK_WEBHOOK_COMMUNITY]
41+
url: [SLACK_WEBHOOK_ASK_DEVREL_URL, SLACK_WEBHOOK_DEVREL_TOOLING_URL, SLACK_WEBHOOK_DEVREL_PRIVATE_URL]
4242
steps:
4343
- name: Send to Slack channels
4444
uses: slackapi/[email protected]

0 commit comments

Comments
 (0)