forked from knative/func
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use knative go setup action (knative#2612)
Keeps the Go version used by Knative projects in sync with each-other and tooling.
- Loading branch information
Showing
14 changed files
with
18 additions
and
28 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
- 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/[email protected] | ||
- run: ko build --platform=linux/ppc64le,linux/s390x,linux/amd64,linux/arm64 -B ./cmd/func |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
- name: Install Binaries | ||
run: ./hack/install-binaries.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
- name: Install Binaries | ||
run: ./hack/install-binaries.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
- name: Install Binaries | ||
run: ./hack/install-binaries.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters