Skip to content

Use latest cvemap api #21

Use latest cvemap api

Use latest cvemap api #21

Workflow file for this run

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: Race Condition Tests
run: go run -race . -id CVE-1999-0027
# working-directory: cmd/cvemap/
- name: Test Example Code
run: go run .
# working-directory: examples/