Skip to content

feat: get snyk api endpoint from env (#67) #232

feat: get snyk api endpoint from env (#67)

feat: get snyk api endpoint from env (#67) #232

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 .