provenance v1.19.1 rev d1119ab02c423d86a0f485a8f124e73511ec1b9b; mamo… #27
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: actions/setup-go@v5 | |
with: | |
go-version: '1.21' | |
- 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 |