Skip to content

Merge pull request #159 from Yhlong00/main #63

Merge pull request #159 from Yhlong00/main

Merge pull request #159 from Yhlong00/main #63

Workflow file for this run

name: test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go 1.22
uses: actions/setup-go@v5
with:
go-version: 1.22
# You can test your matrix by printing the current Go version
- name: Display Go version
run: go version
- name: run vet
run: go vet ./...
- name: build all packages
run: go build ./...
- name: check for vulnerabilities
run: ./tools/govulncheck ./...
- name: Run tests
run: go test -vet=off --cover ./...