From cac8f7f9594798d70d5aa08ba3e524a12989c235 Mon Sep 17 00:00:00 2001 From: Eric Opoku Date: Mon, 14 Oct 2024 23:47:36 -0400 Subject: [PATCH] ci: update github actions --- .github/workflows/ci.yml | 14 +++++++------- .github/workflows/pr.yml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5be03cd..0a015fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,19 +13,19 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} - name: Set up JDK 17 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '17' distribution: 'temurin' - name: Grant execute permissions for gradlew run: chmod +x gradlew - name: Build with Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 env: SPRING_PROFILES_ACTIVE: integration-test-ci with: @@ -33,7 +33,7 @@ jobs: build-root-directory: . - name: Add coverage to PR id: jacoco - uses: madrapps/jacoco-report@v1.6.1 + uses: madrapps/jacoco-report@v1.7.1 with: paths: ${{github.workspace}}/build/reports/jacoco/test/jacocoTestReport.xml token: ${{secrets.GITHUB_TOKEN}} @@ -59,11 +59,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3 - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{secrets.DOCKERHUB_USERNAME}} password: ${{secrets.DOCKERHUB_TOKEN}} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 955fe6e..487d9c7 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -11,6 +11,6 @@ jobs: pr_lint: runs-on: ubuntu-latest steps: - - uses: vijaykramesh/pr-lint-action@v1.0 + - uses: vijaykramesh/pr-lint-action@v2.3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}