From e5cec41b49a03801a1975dcece215ffb9de2630e Mon Sep 17 00:00:00 2001 From: Aleksey Krichevskiy Date: Mon, 10 Mar 2025 23:15:36 +0200 Subject: [PATCH] ci: actions v4 --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b8118c..a84e446 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,18 +11,18 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4.1.1 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up JDK 21 - uses: actions/setup-java@v4.1.0 + uses: actions/setup-java@v4 with: java-version: '21' distribution: 'temurin' - name: Setup Gradle - uses: gradle/actions/setup-gradle@v4.2.1 + uses: gradle/actions/setup-gradle@v4 - name: Cache SonarCloud packages - uses: actions/cache@v4.1.2 + uses: actions/cache@v4 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar @@ -34,14 +34,14 @@ jobs: run: ./gradlew check sonar - name: Upload test reports if: ${{ !cancelled() }} - uses: actions/upload-artifact@v4.3.1 + uses: actions/upload-artifact@v4 with: name: reports path: '**/build/reports/**/*' - name: Release please id: release if: ${{ github.ref_name == 'master' || startsWith(github.ref_name, 'release/') }} - uses: googleapis/release-please-action@v4.1.3 + uses: googleapis/release-please-action@v4 with: token: ${{ secrets.RELEASE_PLEASE_TOKEN }} target-branch: ${{ github.ref_name }}