diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 172b8a8..1d0f615 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,8 +10,6 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v4 - with: - ref: master - name: Setup go uses: actions/setup-go@v5 with: @@ -26,8 +24,6 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v4 - with: - ref: master - name: Setup go uses: actions/setup-go@v5 with: diff --git a/Makefile b/Makefile index a59d963..6b6d159 100644 --- a/Makefile +++ b/Makefile @@ -23,8 +23,7 @@ analyse: # Updates 3rd party packages and tools deps: - go get -u $$(go list ./... | grep -v /tmp) - go mod tidy + go mod download go install github.com/securego/gosec/v2/cmd/gosec@latest go install github.com/fzipp/gocyclo/cmd/gocyclo@latest