1
0
Fork 0
mirror of https://github.com/imjasonh/csvstruct synced 2026-07-08 02:55:12 +00:00
csvstruct/.github/workflows/build.yaml
Jason Hall 0d469dc0aa
update to use Go module and GitHub Actions
Signed-off-by: Jason Hall <jason@chainguard.dev>
2023-09-30 19:50:13 -04:00

22 lines
501 B
YAML

name: Build
on:
pull_request:
branches:
- 'main'
push:
branches:
- 'main'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
go-version-file: 'go.mod'
- uses: golang/govulncheck-action@dd3ead030e4f2cf713062f7a3395191802364e13 # v1
- run: go test -race ./...