Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- uses: 1Password/check-signed-commits-action@v1

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
name: OpenAPI Up-to-date
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- uses: actions/setup-go@v6
with:
go-version-file: go.mod

- name: Install openapi-gen
run: go install k8s.io/kube-openapi/cmd/openapi-gen@latest
run: go install "k8s.io/kube-openapi/cmd/openapi-gen@$(go list -m k8s.io/kube-openapi | cut -d' ' -f2)"

- name: Generate OpenAPI
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:
- uses: jlumbroso/free-disk-space@v1.3.1

- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: setup Go
uses: actions/setup-go@v6
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Prek Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- uses: actions/setup-go@v6
with:
Expand All @@ -24,6 +24,6 @@ jobs:
version: latest
install-only: true

- run: go install golang.org/x/tools/cmd/goimports@latest
- run: go install golang.org/x/tools/cmd/goimports@v0.49.0

- uses: j178/prek-action@v2
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tasks:
generate:openapi:
desc: Generate OpenAPI definitions from Go types
cmds:
- go install k8s.io/kube-openapi/cmd/openapi-gen@latest
- go install "k8s.io/kube-openapi/cmd/openapi-gen@$(go list -m k8s.io/kube-openapi | cut -d' ' -f2)"
- |
openapi-gen \
--output-dir pkg/openapi \
Expand Down
Loading