From 56a07bbf3abc2bc2080ae06cddb8057ff5c67c4b Mon Sep 17 00:00:00 2001 From: Ludy Date: Sun, 18 Aug 2024 14:07:14 +0200 Subject: [PATCH] increases some versions in the workflows (#1707) --- .github/workflows/build.yml | 10 +++++----- .github/workflows/licenses-update.yml | 5 +++-- .github/workflows/push-docker.yml | 9 ++++----- .github/workflows/releaseArtifacts.yml | 2 +- .github/workflows/swagger.yml | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d11e331b..6aff3196 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: distribution: "temurin" - name: Set up Gradle - uses: gradle/actions/setup-gradle@v3 + uses: gradle/actions/setup-gradle@v4 with: gradle-version: 8.7 @@ -39,7 +39,7 @@ jobs: run: ./gradlew build --no-build-cache docker-compose-tests: - # if: github.event_name == 'push' && github.ref == 'refs/heads/main' || + # if: github.event_name == 'push' && github.ref == 'refs/heads/main' || # (github.event_name == 'pull_request' && # contains(github.event.pull_request.labels.*.name, 'licenses') == false && # ( @@ -74,14 +74,14 @@ jobs: sudo chmod +x /usr/local/bin/docker-compose - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.7" - + - name: Pip requirements run: | pip install -r ./cucumber/requirements.txt - + - name: Run Docker Compose Tests run: | chmod +x ./test.sh diff --git a/.github/workflows/licenses-update.yml b/.github/workflows/licenses-update.yml index 8c39ccaa..b27bbc8d 100644 --- a/.github/workflows/licenses-update.yml +++ b/.github/workflows/licenses-update.yml @@ -25,7 +25,7 @@ jobs: java-version: "17" distribution: "adopt" - - uses: gradle/actions/setup-gradle@v3 + - uses: gradle/actions/setup-gradle@v4 - name: Run Gradle Command run: ./gradlew clean generateLicenseReport @@ -58,6 +58,7 @@ jobs: title: "Update 3rd Party Licenses" body: | Auto-generated by [create-pull-request][1] + [1]: https://github.com/peter-evans/create-pull-request labels: licenses draft: false @@ -68,7 +69,7 @@ jobs: run: gh pr review --approve "${{ steps.cpr.outputs.pull-request-number }}" env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + - name: Enable auto-merge if: steps.cpr.outputs.pull-request-operation == 'created' uses: peter-evans/enable-pull-request-automerge@v3 diff --git a/.github/workflows/push-docker.yml b/.github/workflows/push-docker.yml index ecdb0867..df7af98a 100644 --- a/.github/workflows/push-docker.yml +++ b/.github/workflows/push-docker.yml @@ -22,7 +22,7 @@ jobs: java-version: "17" distribution: "temurin" - - uses: gradle/actions/setup-gradle@v3 + - uses: gradle/actions/setup-gradle@v4 with: gradle-version: 8.7 @@ -72,7 +72,7 @@ jobs: type=raw,value=alpha,enable=${{ github.ref == 'refs/heads/main' }} - name: Build and push main Dockerfile - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: builder: ${{ steps.buildx.outputs.name }} context: . @@ -98,7 +98,7 @@ jobs: type=raw,value=latest-ultra-lite,enable=${{ github.ref == 'refs/heads/master' }} - name: Build and push Dockerfile-ultra-lite - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 if: github.ref != 'refs/heads/main' with: context: . @@ -111,7 +111,6 @@ jobs: build-args: VERSION_TAG=${{ steps.versionNumber.outputs.versionNumber }} platforms: linux/amd64,linux/arm64/v8 - - name: Generate tags fat id: meta3 uses: docker/metadata-action@v5 @@ -125,7 +124,7 @@ jobs: type=raw,value=latest-fat,enable=${{ github.ref == 'refs/heads/master' }} - name: Build and push main Dockerfile fat - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 if: github.ref != 'refs/heads/main' with: builder: ${{ steps.buildx.outputs.name }} diff --git a/.github/workflows/releaseArtifacts.yml b/.github/workflows/releaseArtifacts.yml index 151e126e..8adfa0fe 100644 --- a/.github/workflows/releaseArtifacts.yml +++ b/.github/workflows/releaseArtifacts.yml @@ -27,7 +27,7 @@ jobs: java-version: "17" distribution: "temurin" - - uses: gradle/actions/setup-gradle@v3 + - uses: gradle/actions/setup-gradle@v4 with: gradle-version: 8.7 diff --git a/.github/workflows/swagger.yml b/.github/workflows/swagger.yml index 88e6df7e..33aeed44 100644 --- a/.github/workflows/swagger.yml +++ b/.github/workflows/swagger.yml @@ -18,7 +18,7 @@ jobs: java-version: "17" distribution: "temurin" - - uses: gradle/actions/setup-gradle@v3 + - uses: gradle/actions/setup-gradle@v4 - name: Generate Swagger documentation run: ./gradlew generateOpenApiDocs