mirror of
https://github.com/skoelle/kctl-tui.git
synced 2026-09-17 20:10:24 +00:00
ci: use go mod tidy to generate go.sum in the workflow (fixes missing go.sum entries)
This commit is contained in:
@@ -20,9 +20,10 @@ jobs:
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.22"
|
||||
cache: false
|
||||
|
||||
- name: Download dependencies
|
||||
run: go mod download
|
||||
- name: Tidy dependencies (generates/updates go.sum)
|
||||
run: go mod tidy
|
||||
|
||||
- name: Vet
|
||||
run: go vet ./...
|
||||
@@ -44,9 +45,10 @@ jobs:
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.22"
|
||||
cache: false
|
||||
|
||||
- name: Download dependencies
|
||||
run: go mod download
|
||||
- name: Tidy dependencies (generates/updates go.sum)
|
||||
run: go mod tidy
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user