Skip to content

Commit

Permalink
install dependencies in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bhuvanessr committed Mar 10, 2022
1 parent 57974ee commit 03f550c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/build-kube-fledged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ jobs:
with:
go-version: ${{ inputs.golang_version }}

- name: Install dependencies
run: |
go get -u golang.org/x/lint/golint
- name: Run verify scripts
run: |
hack/verify-codegen.sh
Expand Down
2 changes: 1 addition & 1 deletion hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set -o nounset
set -o pipefail

export GOPATH=${HOME}/go
go get -u k8s.io/[email protected]
go get -d k8s.io/[email protected]

SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/..
CODEGEN_PKG=${CODEGEN_PKG:-$(cd ${SCRIPT_ROOT}; ls -d -1 $GOPATH/pkg/mod/k8s.io/code-generator@v0.21.1 2>/dev/null || echo ../code-generator)}
Expand Down

0 comments on commit 03f550c

Please sign in to comment.