CVE Fixes Rollup #19
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [ '1.18', '1.19', '1.20', '1.21', '1.22' ] | |
name: Go ${{ matrix.go }} tests | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Install dependencies | |
run: | | |
go mod tidy | |
go install github.com/onsi/ginkgo/ginkgo | |
go install golang.org/x/lint/golint | |
go install github.com/modocache/gover | |
go install github.com/mattn/goveralls | |
- name: Run tests | |
run: | | |
ginkgo -r -cover --randomizeAllSpecs --randomizeSuites --failOnPending --trace --race --progress | |
ginkgo -tags=gorillamux -r --randomizeSuites --failOnPending --trace --race | |
ginkgo -tags=gingonic -r --randomizeSuites --failOnPending --trace --race | |
ginkgo -tags=echo -r --randomizeSuites --failOnPending --trace --race | |
rm examples/examples.coverprofile | |
bash scripts/fmtpolice | |
gover | |
goveralls -coverprofile=gover.coverprofile -repotoken gY90SprlNRGmSMl7MgybLreYa05wUXJTU | |