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

chore(operator): CI take advantage of setup-go cache #16629

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 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
2 changes: 0 additions & 2 deletions .github/workflows/operator-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
name: build
runs-on: ubuntu-latest
steps:
- name: Install make
run: sudo apt-get install make
- uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/operator-scorecard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
name: scorecard
runs-on: ubuntu-latest
steps:
- name: Install make
run: sudo apt-get install make
- uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
name: docs
runs-on: ubuntu-latest
steps:
- name: Install make
run: sudo apt-get install make
- uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
Expand All @@ -31,8 +29,6 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- name: Install make
run: sudo apt-get install make
- uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
Expand All @@ -52,8 +48,6 @@ jobs:
name: Build Manager
runs-on: ubuntu-latest
steps:
- name: Install make
run: sudo apt-get install make
- uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
Expand All @@ -69,8 +63,6 @@ jobs:
name: Build Broker
runs-on: ubuntu-latest
steps:
- name: Install make
run: sudo apt-get install make
- uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
Expand All @@ -85,8 +77,6 @@ jobs:
name: test
runs-on: ubuntu-latest
steps:
- name: Install make
run: sudo apt-get install make
- uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ OCI_RUNTIME ?= $(shell which podman || which docker)
help: ## Display this help.
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " \033[36m%-24s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)

##@ Development
### Development
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ##@ is a marker for the output generated by make help.


.PHONY: deps
deps: go.mod go.sum
Expand Down
Loading