-
Notifications
You must be signed in to change notification settings - Fork 4
/
dev.yml
25 lines (21 loc) · 777 Bytes
/
dev.yml
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
# DevBuddy config file
# See https://github.com/devbuddy/devbuddy/blob/master/docs/Config.md
env:
ENV: development
up:
- go:
version: 1.22.1
modules: true
- custom:
name: Create local install directory
met?: '[ "*" = "`cat .devbuddy/.gitignore`" ]'
meet: mkdir -p .devbuddy && echo '*' > .devbuddy/.gitignore
- custom:
name: Install golangci-lint
met?: test -x .devbuddy/golangci-lint && .devbuddy/golangci-lint --version | grep -q 'v1.57.1'
meet: GOBIN=$PWD/.devbuddy go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.57.1
commands:
test: go test -cover -race ./...
lint: .devbuddy/golangci-lint run
open:
devbuddy: https://github.com/devbuddy/devbuddy/blob/master/docs/Config.md#config-devyml