Skip to content

Commit 974c654

Browse files
committed
Remove embed tag completely
1 parent 03a2945 commit 974c654

File tree

4 files changed

+2
-15
lines changed

4 files changed

+2
-15
lines changed

.github/workflows/coder.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
- name: golangci-lint
3737
uses: golangci/golangci-lint-action@v2
3838
with:
39-
args: --build-tags=embed
4039
version: latest
4140

4241
gen:
@@ -129,7 +128,7 @@ jobs:
129128
- run: go install gotest.tools/gotestsum@latest
130129

131130
- run:
132-
gotestsum --jsonfile="gotests.json" --packages="./..." -- -tags=embed
131+
gotestsum --jsonfile="gotests.json" --packages="./..." --
133132
-covermode=atomic -coverprofile="gotests.coverage" -timeout=3m
134133
-count=3 -race -parallel=2
135134

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ gen: database/generate peerbroker/proto provisionersdk/proto
2727

2828
bin/coderd:
2929
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
3131
.PHONY: bin/coderd
3232

3333
site/out:

site/embed.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
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-
71
package site
82

93
import (

site/embed_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
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-
71
package site
82

93
import (

0 commit comments

Comments
 (0)