Skip to content
This repository was archived by the owner on Nov 30, 2025. It is now read-only.

Commit bf68b16

Browse files
committed
Merge Gradle wrapper validation job into main pipeline and pin action versions.
1 parent 55b48ff commit bf68b16

2 files changed

Lines changed: 6 additions & 13 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,21 @@ jobs:
2323
fetch-depth: 0
2424

2525
- name: Cache Batect
26-
uses: actions/cache@v2
26+
uses: actions/cache@v2.1.7
2727
with:
2828
path: ~/.batect/cache
2929
key: batect-${{ hashFiles('batect') }}
3030

3131
- name: Cache dependencies
32-
uses: actions/cache@v2
32+
uses: actions/cache@v2.1.7
3333
id: cache-dependencies
3434
with:
3535
path: .batect/caches
3636
key: batect-caches-${{ hashFiles('**/*.gradle.kts') }}
3737

38+
- name: Validate Gradle wrapper
39+
uses: gradle/wrapper-validation-action@v1.0.4
40+
3841
- name: Build
3942
run: ./batect build
4043

@@ -71,7 +74,7 @@ jobs:
7174
if: github.repository == 'charleskorn/kaml' && startsWith(github.ref, 'refs/tags/') && github.event_name == 'push'
7275

7376
- name: Create GitHub release
74-
uses: softprops/action-gh-release@v1
77+
uses: softprops/action-gh-release@v0.1.14
7578
with:
7679
files: build/release/*
7780
fail_on_unmatched_files: true

.github/workflows/gradle-wrapper-validation.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)