Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use knative go setup action #2612

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .github/composite/go-setup/action.yaml

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e-oncluster-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e-oncluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e-runtime.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-embedded-fs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-podman.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-builder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-quarkus-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
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

Check failure on line 18 in .github/workflows/update-quarkus-platform.yaml

View workflow job for this annotation

GitHub Actions / style / suggester / github_actions

[actionlint] reported by reviewdog 🐶 the runner of "actions/setup-node@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action] Raw Output: .github/workflows/update-quarkus-platform.yaml:18:15: the runner of "actions/setup-node@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]
with:
node-version: 18
- uses: actions/setup-java@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-springboot-platform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
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

Check failure on line 18 in .github/workflows/update-springboot-platform.yaml

View workflow job for this annotation

GitHub Actions / style / suggester / github_actions

[actionlint] reported by reviewdog 🐶 the runner of "actions/setup-node@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action] Raw Output: .github/workflows/update-springboot-platform.yaml:18:15: the runner of "actions/setup-node@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]
with:
node-version: 18
- uses: actions/setup-java@v4
Expand Down
Loading