Skip to content

Commit

Permalink
Test building with vendored modules
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Mar 2, 2024
1 parent 4386df1 commit d828582
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
- name: Get dependencies
run: go get -v -t -d ./...

- name: Test building with vendoring (#35)
run: go mod vendor && go build -mod=vendor ./cli/main.go

- name: Build
run: |
CGO_ENABLED=0 GOARCH=amd64 GOOS=darwin go build -ldflags="-s -w" -o auth-thu.macos.x86_64 ./cli/main.go
Expand Down

0 comments on commit d828582

Please sign in to comment.