Skip to content

Commit

Permalink
ci: setup go before installing controller-gen (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
karelvanhecke authored Nov 13, 2024
1 parent f48ad8d commit d6a233a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,19 @@ jobs:
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
with:
filters: |
ci: &ci
- .github/workflows/ci.yaml
go:
- go.mod
- go.sum
- '**/*.go'
- *ci
manifests:
- 'install/base/**/*.yaml'
- *ci
renovate:
- .github/renovate.json
- *ci
golangci-lint:
name: golangci-lint
Expand Down Expand Up @@ -101,6 +106,11 @@ jobs:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Setup go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: ${{ env.GO_VERSION }}

- name: Install controller-gen
run: make install-controller-gen

Expand Down

0 comments on commit d6a233a

Please sign in to comment.