Skip to content

Commit

Permalink
chore: support Go workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Sep 9, 2024
1 parent 9992735 commit fe81d13
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
git submodule update --init
- name: Build
run: go build -v ./...
run: GOWORK=off go build -v ./...

- name: Test
run: go test -race -benchmem -bench=. ./... -benchtime=100ms
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@

# Go task
/.task/

# Go workspace
go.work
go.work.sum
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ builds:
main: ./cmd/outline-ss-server
env:
- CGO_ENABLED=0
- GOWORK=off
goos:
- darwin
- windows
Expand Down

0 comments on commit fe81d13

Please sign in to comment.