fix(ci): avoid rewriting Go module files
This commit is contained in:
@@ -61,14 +61,12 @@ jobs:
|
||||
- name: Prepare Go environment
|
||||
uses: ./.github/actions/ci-go-prep
|
||||
|
||||
- name: Download and verify Go modules
|
||||
- name: Download Go modules
|
||||
working-directory: server
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
go mod download
|
||||
go mod tidy
|
||||
git diff --exit-code -- go.mod go.sum
|
||||
|
||||
- name: Save Go module cache to S3
|
||||
if: success()
|
||||
|
||||
Reference in New Issue
Block a user