fix workflows

This commit is contained in:
Evan Jarrett
2026-01-15 23:22:47 -06:00
parent 57d44389b9
commit b99ae53755
2 changed files with 12 additions and 1 deletions
+6 -1
View File
@@ -9,13 +9,18 @@ image: golang:1.25-trixie
architecture: amd64
steps:
- name: install node
command: |
apt-get update && \
apt-get install -y --no-install-recommends nodejs npm && \
rm -rf /var/lib/apt/lists/*
- name: Download and Generate
environment:
CGO_ENABLED: 1
command: |
go mod download
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.7.2
go generate ./...
- name: Run Linter
environment:
+6
View File
@@ -9,6 +9,12 @@ image: golang:1.25-trixie
architecture: amd64
steps:
- name: install node
command: |
apt-get update && \
apt-get install -y --no-install-recommends nodejs npm && \
rm -rf /var/lib/apt/lists/*
- name: Download and Generate
environment:
CGO_ENABLED: 1