provenance v1.19.0-rc5 rev 7d6c507cab780bb6f0bdeef1e895c870cf4c7465; … #21
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 Test | |
on: | |
push: | |
branches: | |
- master | |
- 'mamoru*' | |
- develop | |
pull_request: | |
branches: | |
- master | |
- 'mamoru*' | |
- develop | |
jobs: | |
build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: technote-space/[email protected] | |
with: | |
PATTERNS: | | |
**/**.go | |
go.mod | |
go.sum | |
.github/workflows/lint.yml | |
scripts/no-now-lint.sh | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.20' | |
- uses: golangci/golangci-lint-action@v4 | |
if: env.GIT_DIFF | |
with: | |
# If you change this version, be sure to also change it in contrib/devtools/Makefile. | |
version: v1.54 | |
args: --timeout 10m --out-${NO_FUTURE}format colored-line-number | |
github-token: ${{ secrets.github_token }} | |
- name: No Now Usage | |
if: env.GIT_DIFF | |
run: scripts/no-now-lint.sh | |
- name: Build with Makefile | |
run: | | |
make build |