Skip to content

Commit

Permalink
fetch-depth 0 + update GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
chklauser committed Jan 26, 2024
1 parent 6f88c46 commit a769e04
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/Main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0 # need full history for reckon (tags)
- name: Set up JDK 11
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@8d49e559aae34d3e0eb16cde532684bc9702762b
uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4
- name: Build & Test
# https://github.com/burrunan/gradle-cache-action
uses: burrunan/gradle-cache-action@a54b6ce2cbbba932e5d142129dddef103e6ad143
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0 # need full history for reckon (tags)
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@8d49e559aae34d3e0eb16cde532684bc9702762b
uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4
- name: Build & Test
# https://github.com/burrunan/gradle-cache-action
uses: burrunan/gradle-cache-action@a54b6ce2cbbba932e5d142129dddef103e6ad143
Expand Down

0 comments on commit a769e04

Please sign in to comment.