Skip to content

Commit

Permalink
Fix: CI Outdated Package Fix V2
Browse files Browse the repository at this point in the history
  • Loading branch information
HIMANSHU authored and HIMANSHU committed Mar 4, 2024
1 parent 5e87d40 commit 7689c85
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/go-template-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,10 @@ jobs:
- name: Get branch name
id: vars
run: echo ::set-output name=branch::${{ github.event.pull_request.head.ref }}
- name: Update Dependencies
- name: Set GOROOT and GOPATH
run: |
go mod tidy
go clean -modcache
echo "export GOROOT=/usr/local/go" >> $GITHUB_ENV
echo "export GOPATH=$HOME/go" >> $GITHUB_ENV
- name: Install pre-commit dependencies
run: |
go install github.com/fzipp/gocyclo/cmd/gocyclo@latest
Expand Down

0 comments on commit 7689c85

Please sign in to comment.