workflows: drop manual go mod downloads

It's done automatically since like forever, these steps are useless.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
This commit is contained in:
Roman Khimov 2024-02-28 12:08:41 +03:00
parent 5fcae176b8
commit 630bd29b8d
2 changed files with 0 additions and 9 deletions

View file

@ -56,9 +56,6 @@ jobs:
go-version: '1.21'
cache: true
- name: Update Go modules
run: go mod download -json
- name: Build CLI
run: make build
env:

View file

@ -102,9 +102,6 @@ jobs:
go-version: '1.21'
cache: true
- name: Update Go modules
run: go mod download -json
- name: Write coverage profile
run: go test -v ./... -coverprofile=./coverage.txt -covermode=atomic -coverpkg=./pkg...,./cli/...
@ -152,8 +149,5 @@ jobs:
go-version: '${{ matrix.go_versions }}'
cache: true
- name: Update Go modules
run: go mod download -json
- name: Run tests
run: go test -v -race ./...