Skip to content

allow tagFilter to use response data #3401

allow tagFilter to use response data

allow tagFilter to use response data #3401

Workflow file for this run

name: pr
on: [ pull_request ]
permissions:
contents: read
jobs:
gokart:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
# https://www.npmjs.com/package/semver#caret-ranges-123-025-004
# Fix version to 1.19, see https://github.com/praetorian-inc/gokart/issues/88
go-version: '~1.19'
- run: go install github.com/praetorian-inc/gokart@3d38a9ae72f7d67d5c13f83ec5669630868e409e
- run: gokart scan -s -o gokart-scan-output.sarif
# Upload the results to the code scanning security tab
- uses: github/codeql-action/upload-sarif@9a866ed4524fc3422c3af1e446dab8efa3503411
with:
sarif_file: gokart-scan-output.sarif
semgrep:
runs-on: ubuntu-latest
container:
image: returntocorp/semgrep
steps:
# Retrieve the source code for the repository
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
# Fetch the semgrep rules
- run: git clone https://github.com/dgryski/semgrep-go.git
# Run the rule checker using the fetched rules
- run: semgrep ci -f semgrep-go
check-race:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
# https://www.npmjs.com/package/semver#caret-ranges-123-025-004
go-version: '^1.19'
- run: go version
- run: make deps
- run: make check-race
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
with:
# https://www.npmjs.com/package/semver#caret-ranges-123-025-004
go-version: '^1.19'
- run: go version
- run: make deps
- run: make check-fmt
- run: make vet
- run: make staticcheck
- run: make cicheck