From a769e044a797ca66c52fc792adf0cb7831af8b5f Mon Sep 17 00:00:00 2001 From: Christian Klauser Date: Fri, 26 Jan 2024 19:46:43 +0100 Subject: [PATCH] fetch-depth 0 + update GH actions --- .github/workflows/Main.yml | 8 +++++--- .github/workflows/Release.yml | 6 ++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/Main.yml b/.github/workflows/Main.yml index 9998174..773cbe3 100644 --- a/.github/workflows/Main.yml +++ b/.github/workflows/Main.yml @@ -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 diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 6f55e14..e435eb1 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -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