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