Fixed: string representation for "not in" filter comparator should sh… #167
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-go | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
defaults: | |
run: | |
shell: bash | |
env: | |
GO111MODULE: on | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
go: | |
- "1.20" | |
- "1.21" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go }} | |
cache: true | |
- name: setup | |
run: | | |
go install github.com/securego/gosec/cmd/gosec@latest | |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest | |
- name: build | |
run: | | |
make | |
- uses: PaloAltoNetworks/cov@3.0.0 | |
with: | |
main_branch: master | |
cov_file: unit_coverage.out | |
cov_threshold: "85" | |
cov_mode: coverage |