chore(deps): bump github.com/projectdiscovery/utils from 0.4.0 to 0.4.1 #559
Workflow file for this run
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: | |
pull_request: | |
paths: | |
- '**.go' | |
- '**.mod' | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Test Builds | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
go-version: [1.21.x] | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Build | |
run: go build . | |
working-directory: cmd/cvemap/ | |
- name: Test | |
run: go test ./... | |
working-directory: . | |
- name: Integration Tests Linux, macOS | |
if: runner.os == 'Linux' || runner.os == 'macOS' | |
env: | |
GH_ACTION: true | |
run: bash run.sh | |
working-directory: cmd/integration-test/ | |
- name: Integration Tests Windows | |
if: runner.os == 'Windows' | |
env: | |
GH_ACTION: true | |
MSYS_NO_PATHCONV: true | |
run: bash run.sh | |
working-directory: cmd/integration-test/ | |
- name: Race Condition Tests | |
if: github.actor != 'dependabot[bot]' | |
run: go run -race . -id CVE-1999-0027 | |
working-directory: cmd/cvemap/ | |
env: | |
PDCP_API_KEY: "${{ secrets.PDCP_API_KEY }}" | |
PDCP_API_SERVER: https://api.projectdiscovery.io | |
DEBUG: true | |
# - name: Test Example Code | |
# run: go run . | |
# working-directory: examples/ | |