wispem-wantex 53785b6e6e
Some checks failed
CI / release-test (push) Failing after 38s
Add lint config and build step
2025-08-23 18:19:22 -07:00

26 lines
587 B
YAML

name: CI
on: [push]
jobs:
release-test:
container:
image: offline-twitter/go
volumes:
- woodpecker-gocache:/go-cache-volume
env:
GOPATH: /go-cache-volume
GOCACHE: /go-cache-volume/build-cache
steps:
- name: checkout
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
env
GOBIN=/usr/local/go/bin go install git.offline-twitter.com/offline-labs/gocheckout@v0.0.1
gocheckout
- name: test
run: go test ./...
- name: lint
run: golangci-lint run