Skip to content

refactor: use http.ServeMux in snyk unit tests #282

refactor: use http.ServeMux in snyk unit tests

refactor: use http.ServeMux in snyk unit tests #282

Workflow file for this run

name: CI
on:
push:
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.3
- name: Lint
uses: golangci/golangci-lint-action@v3
- name: Build
run: go build -v -o parlay
- name: Unit tests
run: go test -v ./...
- name: Setup BATS
uses: mig4/setup-bats@v1
with:
bats-version: 1.9.0
- name: Acceptance tests
run: bats -r .