Skip to content

Merge pull request #168 from c4dt/167 #327

Merge pull request #168 from c4dt/167

Merge pull request #168 from c4dt/167 #327

Workflow file for this run

name: Go Unit Tests
on:
push:
branches: [main]
pull_request:
jobs:
test:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Use Go 1.20
uses: actions/setup-go@v4
with:
go-version: '1.20'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Run lint
run: make lint
- name: Run vet
run: make vet
- name: Test all, except integration, with coverage
run: |
go test $(go list ./... | grep -v /integration)