Skip to content

Allow to specify sentry envionment and release. (#140) #53

Allow to specify sentry envionment and release. (#140)

Allow to specify sentry envionment and release. (#140) #53

Workflow file for this run

name: tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.21.4]
steps:
- name: install golang
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: install bats
run: |
git clone https://github.com/sstephenson/bats.git --branch v0.4.0 --depth 1 "${HOME}/bats"
echo "${HOME}/bats/bin" >> $GITHUB_PATH
- name: install govulncheck
run: |
go install golang.org/x/vuln/cmd/govulncheck@latest
- name: checkout code
uses: actions/checkout@v2
- name: run tests
run: make test
- name: run vuln check
run: make vulncheck