diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index b5d3353..7012648 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -10,10 +10,10 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: master # for ratchet - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/setup-java - run: ./gradlew spotlessApply - uses: reviewdog/action-suggester@v1 @@ -34,17 +34,17 @@ jobs: --health-retries 5 --health-start-period 20s steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/setup-java - run: ./gradlew publishToMavenLocal test env: TEST_SERVER_URL: http://localhost:${{ job.services.app.ports[3000] }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: test-reports path: build/reports/tests/test - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: test-results @@ -64,17 +64,17 @@ jobs: --health-retries 5 --health-start-period 20s steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/setup-java - run: ./gradlew testUnrollAcceptanceTest env: TEST_SERVER_URL: http://localhost:3000 - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: always() with: name: test-reports path: build/reports/tests/testUnrollAcceptanceTest - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: always() with: name: test-results @@ -135,11 +135,11 @@ jobs: java_version: '17' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: ./.github/actions/setup-java with: java-version: ${{ matrix.java_version }} - - uses: gradle/gradle-build-action@v2 + - uses: gradle/gradle-build-action@v3 with: gradle-version: ${{ matrix.gradle_version }} - run: gradle testPluginAcceptanceTest @@ -147,12 +147,12 @@ jobs: TEST_AGP_VERSION: ${{ matrix.agp_version }} TEST_GRADLE_VERSION: ${{ matrix.gradle_version }} TEST_SERVER_URL: http://localhost:${{ job.services.app.ports[3000] }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: always() with: name: test-reports-${{ matrix.agp_version }}-with-${{ matrix.gradle_version }} path: build/reports/tests/testPluginAcceptanceTest - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 if: always() with: name: test-results-${{ matrix.agp_version }}-with-${{ matrix.gradle_version }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7fc8983..a0abb1b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,10 +21,10 @@ jobs: --health-retries 5 --health-start-period 20s steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: master - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: | if [[ "$(cat src/main/resources/VERSION)" != "${GITHUB_REF#refs/tags/}" ]]; then echo "version must keep the consistency" 1>&2 diff --git a/.github/workflows/revice-docker.yml b/.github/workflows/revice-docker.yml index 08435fc..c3eb86b 100644 --- a/.github/workflows/revice-docker.yml +++ b/.github/workflows/revice-docker.yml @@ -20,8 +20,8 @@ jobs: contents: read packages: write steps: - - uses: actions/checkout@v3 - - uses: docker/setup-buildx-action@v1 + - uses: actions/checkout@v4 + - uses: docker/setup-buildx-action@v3 - uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} @@ -29,11 +29,11 @@ jobs: password: ${{ github.token }} - id: meta - uses: docker/metadata-action@v4 + uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ env.OWNER_NAME }}/${{ env.IMAGE_NAME }} - - uses: docker/build-push-action@v5.1.0 + - uses: docker/build-push-action@v5.2.0 with: context: ./docker/mock-server target: ghcr