Skip to content

Bump guyarb/golang-test-annotations from 0.6.0 to 0.7.0 #74

Bump guyarb/golang-test-annotations from 0.6.0 to 0.7.0

Bump guyarb/golang-test-annotations from 0.6.0 to 0.7.0 #74

Workflow file for this run

name: gotest
on:
pull_request:
branches: [ '**' ]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- name: Checkout code
uses: actions/checkout@v3
- name: Get dependencies
run: |
go get -v -t ./...
go install gotest.tools/gotestsum@latest
- name: modVerify
run: go mod verify
- name: modTidy
run: go mod tidy
- name: Run Tests with go testsum
run: gotestsum --format pkgname --jsonfile test.json
- name: Annotate tests
if: always()
uses: guyarb/golang-test-annotations@v0.7.0
with:
test-results: test.json