blob: 3a511aaff7895c30f66e7c7bc5fbb95be1f647b9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
---
image: alpine/edge
secrets:
- 5077f4a0-6a32-46e8-aa7c-5be8778d0524
sources:
- [email protected]/~a14m/wireguard-gateway-portal
environment:
GIT_SSH_COMMAND: ssh -o StrictHostKeyChecking=no
packages:
- go
- curl
- make
tasks:
- setup: |
# This is for not having to cd into the <repo> for each task
echo 'cd wireguard-gateway-portal' >> ~/.buildenv
echo 'export "PATH=/home/build/go/bin:$PATH"' >> ~/.buildenv
- deps: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin
golangci-lint --version
- lint: |
make deps
make verify
make lint
- build: |
make build
|