Merge pull request #338 from TheanLim/bump1103 #622
This file contains hidden or 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: | |
| push: | |
| branches: [ mainline ] | |
| pull_request: | |
| branches: [ mainline ] | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Go 1.20 | |
| uses: actions/setup-go@v2 | |
| with: | |
| go-version: "1.20" | |
| id: go | |
| - name: Install cross-compiler for Windows | |
| run: sudo apt-get install -y gcc-multilib gcc-mingw-w64 | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v2 | |
| - name: golint | |
| run: go install golang.org/x/lint/golint@latest | |
| - name: Build | |
| run: make build windows-release test |