diff --git a/.github/composite/go-setup/action.yaml b/.github/composite/go-setup/action.yaml deleted file mode 100644 index 512f316c6..000000000 --- a/.github/composite/go-setup/action.yaml +++ /dev/null @@ -1,10 +0,0 @@ -name: "Golang setup" -description: "Golang setup" - -runs: - using: "composite" - steps: - - uses: actions/setup-go@v5 - with: - go-version: 1.23.x - check-latest: true diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3c3f8a295..687eea273 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,7 +26,7 @@ jobs: steps: - run: git config --global core.autocrlf false - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} @@ -54,7 +54,7 @@ jobs: echo "KUBECONFIG=${{ github.workspace }}/hack/bin/kubeconfig.yaml" >> "$GITHUB_ENV" echo "PATH=${{ github.workspace }}/hack/bin:$PATH" >> "$GITHUB_ENV" - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - name: Install Binaries run: ./hack/install-binaries.sh - name: Allocate Cluster @@ -84,7 +84,7 @@ jobs: echo "KUBECONFIG=${{ github.workspace }}/hack/bin/kubeconfig.yaml" >> "$GITHUB_ENV" echo "PATH=${{ github.workspace }}/hack/bin:$PATH" >> "$GITHUB_ENV" - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - name: Install Binaries run: ./hack/install-binaries.sh - name: Allocate Cluster @@ -112,7 +112,7 @@ jobs: echo "KUBECONFIG=${{ github.workspace }}/hack/bin/kubeconfig.yaml" >> "$GITHUB_ENV" echo "PATH=${{ github.workspace }}/hack/bin:$PATH" >> "$GITHUB_ENV" - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - uses: imjasonh/setup-ko@v0.6 - name: Install Binaries run: ./hack/install-binaries.sh @@ -141,7 +141,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main # Standard build tasks - name: Build run: make cross-platform @@ -203,6 +203,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - uses: imjasonh/setup-ko@v0.6 - run: ko build --platform=linux/ppc64le,linux/s390x,linux/amd64,linux/arm64 -B ./cmd/func diff --git a/.github/workflows/schema.yaml b/.github/workflows/schema.yaml index 96ec6fb12..155de811a 100644 --- a/.github/workflows/schema.yaml +++ b/.github/workflows/schema.yaml @@ -11,6 +11,6 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - name: Check that 'func.yaml schema' is up-to-date run: make schema-check diff --git a/.github/workflows/test-e2e-oncluster-runtime.yaml b/.github/workflows/test-e2e-oncluster-runtime.yaml index b205a47a9..f867a6f78 100644 --- a/.github/workflows/test-e2e-oncluster-runtime.yaml +++ b/.github/workflows/test-e2e-oncluster-runtime.yaml @@ -17,7 +17,7 @@ jobs: echo "KUBECONFIG=${{ github.workspace }}/hack/bin/kubeconfig.yaml" >> "$GITHUB_ENV" echo "PATH=${{ github.workspace }}/hack/bin:$PATH" >> "$GITHUB_ENV" - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - uses: imjasonh/setup-ko@v0.6 - name: Install Binaries run: ./hack/install-binaries.sh diff --git a/.github/workflows/test-e2e-oncluster.yaml b/.github/workflows/test-e2e-oncluster.yaml index 69eb45d05..e88a8df94 100644 --- a/.github/workflows/test-e2e-oncluster.yaml +++ b/.github/workflows/test-e2e-oncluster.yaml @@ -15,7 +15,7 @@ jobs: echo "KUBECONFIG=${{ github.workspace }}/hack/bin/kubeconfig.yaml" >> "$GITHUB_ENV" echo "PATH=${{ github.workspace }}/hack/bin:$PATH" >> "$GITHUB_ENV" - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - uses: imjasonh/setup-ko@v0.6 - name: Install Binaries run: ./hack/install-binaries.sh diff --git a/.github/workflows/test-e2e-runtime.yaml b/.github/workflows/test-e2e-runtime.yaml index 5d734dfbc..93f648923 100644 --- a/.github/workflows/test-e2e-runtime.yaml +++ b/.github/workflows/test-e2e-runtime.yaml @@ -20,7 +20,7 @@ jobs: echo "KUBECONFIG=${{ github.workspace }}/hack/bin/kubeconfig.yaml" >> "$GITHUB_ENV" echo "PATH=${{ github.workspace }}/hack/bin:$PATH" >> "$GITHUB_ENV" - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - name: Install Binaries run: ./hack/install-binaries.sh - name: Allocate Cluster diff --git a/.github/workflows/test-e2e.yaml b/.github/workflows/test-e2e.yaml index 690e569a9..eefab3c08 100644 --- a/.github/workflows/test-e2e.yaml +++ b/.github/workflows/test-e2e.yaml @@ -15,7 +15,7 @@ jobs: echo "KUBECONFIG=${{ github.workspace }}/hack/bin/kubeconfig.yaml" >> "$GITHUB_ENV" echo "PATH=${{ github.workspace }}/hack/bin:$PATH" >> "$GITHUB_ENV" - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - name: Install Binaries run: ./hack/install-binaries.sh - name: Allocate Cluster diff --git a/.github/workflows/test-embedded-fs.yaml b/.github/workflows/test-embedded-fs.yaml index cfc20d19d..ad0461214 100644 --- a/.github/workflows/test-embedded-fs.yaml +++ b/.github/workflows/test-embedded-fs.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - name: Check embedded templates content run: | if ! go test -run "^\QTestFileSystems\E$/^\Qembedded\E$" ./pkg/filesystem; then diff --git a/.github/workflows/test-integration.yaml b/.github/workflows/test-integration.yaml index 638938d12..e990c78a6 100644 --- a/.github/workflows/test-integration.yaml +++ b/.github/workflows/test-integration.yaml @@ -25,7 +25,7 @@ jobs: echo "GITLAB_ROOT_PASSWORD=$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32})" >> "$GITHUB_ENV" echo "PAC_CONTROLLER_HOSTNAME=pac-ctr.127.0.0.1.sslip.io" >> "$GITHUB_ENV" - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - uses: imjasonh/setup-ko@v0.6 - name: Install Binaries run: ./hack/install-binaries.sh diff --git a/.github/workflows/test-podman.yaml b/.github/workflows/test-podman.yaml index 200c770d9..93d7f601d 100644 --- a/.github/workflows/test-podman.yaml +++ b/.github/workflows/test-podman.yaml @@ -15,7 +15,7 @@ jobs: echo "KUBECONFIG=${{ github.workspace }}/hack/bin/kubeconfig.yaml" >> "$GITHUB_ENV" echo "PATH=${{ github.workspace }}/hack/bin:$PATH" >> "$GITHUB_ENV" - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - name: Install Podman run: | . /etc/os-release diff --git a/.github/workflows/test-unit.yaml b/.github/workflows/test-unit.yaml index e25c180ef..3db7d43ac 100644 --- a/.github/workflows/test-unit.yaml +++ b/.github/workflows/test-unit.yaml @@ -24,7 +24,7 @@ jobs: echo "$(brew --prefix)/opt/gnu-sed/libexec/gnubin" >> $GITHUB_PATH - run: git config --global core.autocrlf false - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - uses: actions/setup-java@v4 with: java-version: ${{ matrix.java }} diff --git a/.github/workflows/update-builder.yaml b/.github/workflows/update-builder.yaml index 05fbd4884..da3d4c1dd 100644 --- a/.github/workflows/update-builder.yaml +++ b/.github/workflows/update-builder.yaml @@ -12,7 +12,7 @@ jobs: runs-on: "ubuntu-latest" steps: - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - name: Build and Push env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/update-quarkus-platform.yaml b/.github/workflows/update-quarkus-platform.yaml index 399b8f787..d3ada8148 100644 --- a/.github/workflows/update-quarkus-platform.yaml +++ b/.github/workflows/update-quarkus-platform.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - uses: actions/setup-node@v3 with: node-version: 18 diff --git a/.github/workflows/update-springboot-platform.yaml b/.github/workflows/update-springboot-platform.yaml index 03c7c43ff..8ca9538ff 100644 --- a/.github/workflows/update-springboot-platform.yaml +++ b/.github/workflows/update-springboot-platform.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: ./.github/composite/go-setup + - uses: knative/actions/setup-go@main - uses: actions/setup-node@v3 with: node-version: 18