File tree Expand file tree Collapse file tree 4 files changed +2
-15
lines changed Expand file tree Collapse file tree 4 files changed +2
-15
lines changed Original file line number Diff line number Diff line change 36
36
- name : golangci-lint
37
37
uses : golangci/golangci-lint-action@v2
38
38
with :
39
- args : --build-tags=embed
40
39
version : latest
41
40
42
41
gen :
@@ -129,7 +128,7 @@ jobs:
129
128
- run : go install gotest.tools/gotestsum@latest
130
129
131
130
- run :
132
- gotestsum --jsonfile="gotests.json" --packages="./..." -- -tags=embed
131
+ gotestsum --jsonfile="gotests.json" --packages="./..." --
133
132
-covermode=atomic -coverprofile="gotests.coverage" -timeout=3m
134
133
-count=3 -race -parallel=2
135
134
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ gen: database/generate peerbroker/proto provisionersdk/proto
27
27
28
28
bin/coderd :
29
29
mkdir -p bin
30
- go build -tags=embed - o bin/coderd cmd/coderd/main.go
30
+ go build -o bin/coderd cmd/coderd/main.go
31
31
.PHONY : bin/coderd
32
32
33
33
site/out :
Original file line number Diff line number Diff line change 1
- //go:build embed
2
- // +build embed
3
-
4
- // We use build tags so tests, linting, and other Go tooling
5
- // can compile properly without building the site.
6
-
7
1
package site
8
2
9
3
import (
Original file line number Diff line number Diff line change 1
- //go:build embed
2
- // +build embed
3
-
4
- // We use build tags so tests, linting, and other Go tooling
5
- // can compile properly without building the site.
6
-
7
1
package site
8
2
9
3
import (
You can’t perform that action at this time.
0 commit comments