shithub: furgit

Download patch

ref: ecc20a7b98ef7a17c9d2c0fba966a54d319aa108
parent: 19115efe233a3838a5b689de47092cbe8d43339c
author: Runxi Yu <me@runxiyu.org>
date: Wed Mar 4 09:20:47 EST 2026

Revert "ci: Use latest golangci-lint"

This reverts commit 19115efe233a3838a5b689de47092cbe8d43339c.

--- a/.builds/alpine.yml
+++ b/.builds/alpine.yml
@@ -2,9 +2,11 @@
 packages:
   - go
   - git
+  - golangci-lint
 tasks:
-  - install: |
-      go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
+  - apk: |
+      sudo apk update
+      sudo apk upgrade
   - build: |
       cd furgit
       go build ./...
@@ -19,7 +21,7 @@
       go test -v -tags purego ./...
   - lint: |
       cd furgit
-      "$(go env GOPATH)"/bin/golangci-lint run ./...
+      golangci-lint run ./...
   - vet: |
       cd furgit
       go vet ./...
--