perf: add --parseGoPackages flag to speed up parse source #1625
Workflow file for this run
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: [ master, v2 ] | |
| pull_request: | |
| branches: [ master, v2 ] | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| go: [ '1.21.x', '1.22.x', '1.23.x', '1.24.x', '1.25.x' ] | |
| platform: [ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Go | |
| uses: actions/setup-go@v3 | |
| with: | |
| go-version: ${{ matrix.go }} | |
| - name: deps | |
| run: make deps | |
| - name: static program analysis | |
| run: make fmt-check vet | |
| - name: build | |
| run: make build | |
| - name: test | |
| run: make test | |
| - name: coverage | |
| run: bash <(curl -s https://codecov.io/bash) |