From 630bd29b8d7b878d2596eafde61dc6251e260c64 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 28 Feb 2024 12:08:41 +0300 Subject: [PATCH] workflows: drop manual go mod downloads It's done automatically since like forever, these steps are useless. Signed-off-by: Roman Khimov --- .github/workflows/build.yml | 3 --- .github/workflows/tests.yml | 6 ------ 2 files changed, 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f1eb8c287..3567b1c89 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bb47389a6..b475320e7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 ./...