From 298aabfb7d7aeeb1fd521037d0230c5e26f4b55c Mon Sep 17 00:00:00 2001 From: paketo-bot Date: Wed, 10 Aug 2022 17:59:26 +0000 Subject: [PATCH] Bump pipeline from 1.22.0 to 1.23.0 Bumps pipeline from 1.22.0 to 1.23.0. Signed-off-by: GitHub --- .github/pipeline-version | 2 +- .github/workflows/create-package.yml | 4 +- .github/workflows/tests.yml | 4 +- .github/workflows/update-apache-tomcat.yml | 4 +- .github/workflows/update-apache-tomee.yml | 4 +- .../update-azure-application-insights.yml | 4 +- .github/workflows/update-ca-certificates.yml | 4 +- .github/workflows/update-clojure-tools.yml | 4 +- .github/workflows/update-datadog.yml | 4 +- .github/workflows/update-dist-zip.yml | 4 +- .github/workflows/update-encrypt-at-rest.yml | 4 +- .../update-environment-variables.yml | 4 +- .github/workflows/update-executable-jar.yml | 4 +- .github/workflows/update-go.yml | 61 +++++++++++++++++++ .github/workflows/update-gradle.yml | 4 +- .github/workflows/update-image-labels.yml | 4 +- .github/workflows/update-jattach.yml | 4 +- .../update-java-memory-assistant.yml | 4 +- .github/workflows/update-leiningen.yml | 4 +- .github/workflows/update-liberty.yml | 4 +- .github/workflows/update-maven.yml | 4 +- .../workflows/update-microsoft-openjdk.yml | 4 +- .github/workflows/update-pipeline.yml | 4 +- .github/workflows/update-procfile.yml | 4 +- .github/workflows/update-sbt.yml | 4 +- .github/workflows/update-spring-boot.yml | 4 +- .github/workflows/update-syft.yml | 4 +- .github/workflows/update-watchexec.yml | 4 +- 28 files changed, 114 insertions(+), 53 deletions(-) create mode 100644 .github/workflows/update-go.yml diff --git a/.github/pipeline-version b/.github/pipeline-version index 57807d6d..a6c2798a 100644 --- a/.github/pipeline-version +++ b/.github/pipeline-version @@ -1 +1 @@ -1.22.0 +1.23.0 diff --git a/.github/workflows/create-package.yml b/.github/workflows/create-package.yml index 253f9408..9d6827ee 100644 --- a/.github/workflows/create-package.yml +++ b/.github/workflows/create-package.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install create-package run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/create-package + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/create-package@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 005e2380..c729081d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,14 +12,14 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install create-package run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/create-package + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/create-package@latest - name: Install pack run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-apache-tomcat.yml b/.github/workflows/update-apache-tomcat.yml index b3c64f4a..1b4de2e5 100644 --- a/.github/workflows/update-apache-tomcat.yml +++ b/.github/workflows/update-apache-tomcat.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-apache-tomee.yml b/.github/workflows/update-apache-tomee.yml index 88d1746d..5cd1a6dd 100644 --- a/.github/workflows/update-apache-tomee.yml +++ b/.github/workflows/update-apache-tomee.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-azure-application-insights.yml b/.github/workflows/update-azure-application-insights.yml index a6435c8d..f85a09e8 100644 --- a/.github/workflows/update-azure-application-insights.yml +++ b/.github/workflows/update-azure-application-insights.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-ca-certificates.yml b/.github/workflows/update-ca-certificates.yml index 693c9781..0cca416a 100644 --- a/.github/workflows/update-ca-certificates.yml +++ b/.github/workflows/update-ca-certificates.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-clojure-tools.yml b/.github/workflows/update-clojure-tools.yml index e7334bf0..5349be64 100644 --- a/.github/workflows/update-clojure-tools.yml +++ b/.github/workflows/update-clojure-tools.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-datadog.yml b/.github/workflows/update-datadog.yml index 202df970..1cf541b8 100644 --- a/.github/workflows/update-datadog.yml +++ b/.github/workflows/update-datadog.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-dist-zip.yml b/.github/workflows/update-dist-zip.yml index 5a4fd12d..4dbeef05 100644 --- a/.github/workflows/update-dist-zip.yml +++ b/.github/workflows/update-dist-zip.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-encrypt-at-rest.yml b/.github/workflows/update-encrypt-at-rest.yml index c34ae772..10230227 100644 --- a/.github/workflows/update-encrypt-at-rest.yml +++ b/.github/workflows/update-encrypt-at-rest.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-environment-variables.yml b/.github/workflows/update-environment-variables.yml index 22b98b4d..506868bf 100644 --- a/.github/workflows/update-environment-variables.yml +++ b/.github/workflows/update-environment-variables.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-executable-jar.yml b/.github/workflows/update-executable-jar.yml index e3d1ed3d..8d51e116 100644 --- a/.github/workflows/update-executable-jar.yml +++ b/.github/workflows/update-executable-jar.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-go.yml b/.github/workflows/update-go.yml new file mode 100644 index 00000000..0a77352f --- /dev/null +++ b/.github/workflows/update-go.yml @@ -0,0 +1,61 @@ +name: Update Go +"on": + schedule: + - cron: 0 2 * * 1 + workflow_dispatch: {} +jobs: + update: + name: Update Go + runs-on: + - ubuntu-latest + steps: + - uses: actions/setup-go@v3 + with: + go-version: "1.18" + - uses: actions/checkout@v3 + - name: Update Go Version + id: update-go + run: | + #!/usr/bin/env bash + + set -euo pipefail + + if [ -z "${GO_VERSION:-}" ]; then + echo "No go version set" + exit 1 + fi + + OLD_GO_VERSION=$(grep -P '^go \d\.\d+' go.mod | cut -d ' ' -f 2) + + go mod edit -go="$GO_VERSION" + go mod tidy + go get -u all + go mod tidy + + git add go.mod go.sum + git checkout -- . + + echo "::set-output name=old-go-version::${OLD_GO_VERSION}" + echo "::set-output name=go-version::${GO_VERSION}" + env: + GO_VERSION: "1.18" + - uses: peter-evans/create-pull-request@v4 + with: + author: ${{ secrets.JAVA_GITHUB_USERNAME }} <${{ secrets.JAVA_GITHUB_USERNAME }}@users.noreply.github.com> + body: |- + Bumps Go from `${{ steps.update-go.outputs.old-go-version }}` to `${{ steps.update-go.outputs.go-version }}`. + +
+ Release Notes + ${{ steps.pipeline.outputs.release-notes }} +
+ branch: update/go + commit-message: |- + Bump Go from ${{ steps.update-go.outputs.old-go-version }} to ${{ steps.update-go.outputs.go-version }} + + Bumps Go from ${{ steps.update-go.outputs.old-go-version }} to ${{ steps.update-go.outputs.go-version }}. + delete-branch: true + labels: semver:minor, type:task + signoff: true + title: Bump Go from ${{ steps.update-go.outputs.old-go-version }} to ${{ steps.update-go.outputs.go-version }} + token: ${{ secrets.JAVA_GITHUB_TOKEN }} diff --git a/.github/workflows/update-gradle.yml b/.github/workflows/update-gradle.yml index 7412123a..ef0d84b1 100644 --- a/.github/workflows/update-gradle.yml +++ b/.github/workflows/update-gradle.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-image-labels.yml b/.github/workflows/update-image-labels.yml index f8fe90f0..418c5390 100644 --- a/.github/workflows/update-image-labels.yml +++ b/.github/workflows/update-image-labels.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-jattach.yml b/.github/workflows/update-jattach.yml index 968ed5f7..c01c9614 100644 --- a/.github/workflows/update-jattach.yml +++ b/.github/workflows/update-jattach.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-java-memory-assistant.yml b/.github/workflows/update-java-memory-assistant.yml index ccdc2b94..c3894e66 100644 --- a/.github/workflows/update-java-memory-assistant.yml +++ b/.github/workflows/update-java-memory-assistant.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-leiningen.yml b/.github/workflows/update-leiningen.yml index 856a58d3..1158f054 100644 --- a/.github/workflows/update-leiningen.yml +++ b/.github/workflows/update-leiningen.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-liberty.yml b/.github/workflows/update-liberty.yml index ae6ec992..c3f4ed7c 100644 --- a/.github/workflows/update-liberty.yml +++ b/.github/workflows/update-liberty.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-maven.yml b/.github/workflows/update-maven.yml index fb878165..ed578a4a 100644 --- a/.github/workflows/update-maven.yml +++ b/.github/workflows/update-maven.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-microsoft-openjdk.yml b/.github/workflows/update-microsoft-openjdk.yml index 670182bd..8f6382d4 100644 --- a/.github/workflows/update-microsoft-openjdk.yml +++ b/.github/workflows/update-microsoft-openjdk.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-pipeline.yml b/.github/workflows/update-pipeline.yml index 32c4932a..df210369 100644 --- a/.github/workflows/update-pipeline.yml +++ b/.github/workflows/update-pipeline.yml @@ -16,14 +16,14 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install octo run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/pipeline-builder/cmd/octo + go install -ldflags="-s -w" github.com/paketo-buildpacks/pipeline-builder/cmd/octo@latest - uses: actions/checkout@v3 - name: Update Pipeline id: pipeline diff --git a/.github/workflows/update-procfile.yml b/.github/workflows/update-procfile.yml index 12a34f81..b9922541 100644 --- a/.github/workflows/update-procfile.yml +++ b/.github/workflows/update-procfile.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-sbt.yml b/.github/workflows/update-sbt.yml index 68f20060..2e2940a5 100644 --- a/.github/workflows/update-sbt.yml +++ b/.github/workflows/update-sbt.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-spring-boot.yml b/.github/workflows/update-spring-boot.yml index 2f8d4c16..28a6acfe 100644 --- a/.github/workflows/update-spring-boot.yml +++ b/.github/workflows/update-spring-boot.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-syft.yml b/.github/workflows/update-syft.yml index ab0a4fc3..03976b40 100644 --- a/.github/workflows/update-syft.yml +++ b/.github/workflows/update-syft.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash diff --git a/.github/workflows/update-watchexec.yml b/.github/workflows/update-watchexec.yml index 0f15db20..68db6a5d 100644 --- a/.github/workflows/update-watchexec.yml +++ b/.github/workflows/update-watchexec.yml @@ -18,14 +18,14 @@ jobs: username: _json_key - uses: actions/setup-go@v3 with: - go-version: "1.17" + go-version: "1.18" - name: Install update-package-dependency run: | #!/usr/bin/env bash set -euo pipefail - GO111MODULE=on go get -u -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency + go install -ldflags="-s -w" github.com/paketo-buildpacks/libpak/cmd/update-package-dependency@latest - name: Install crane run: | #!/usr/bin/env bash