Merge pull request #304 from constantstress/patch-1 #978
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
pull_request: | |
push: | |
jobs: | |
xgo: | |
strategy: | |
fail-fast: false | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
name: Build with xgo | |
uses: crazy-max/ghaction-xgo@v3 | |
with: | |
dest: build | |
targets: windows/amd64,linux/amd64,darwin/amd64 | |
v: true | |
ldflags: -s -w | |
buildmode: default |