1
0
Fork 0
mirror of https://github.com/imjasonh/csvstruct synced 2026-07-08 19:14:56 +00:00

update to use Go module and GitHub Actions

Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
Jason Hall 2023-09-30 19:50:13 -04:00
parent cb8ca483d3
commit 0d469dc0aa
Failed to extract signature
4 changed files with 27 additions and 14 deletions

22
.github/workflows/build.yaml vendored Normal file
View file

@ -0,0 +1,22 @@
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 ./...