Skip to content

Adds test automation to PRs #6

Adds test automation to PRs

Adds test automation to PRs #6

Workflow file for this run

name: pr
on:
pull_request:
branches: [ '**' ]
workflow_dispatch:
jobs:
tests:
strategy:
matrix:
go_version:
- "1.20"
runs-on: ubuntu-20.04
steps:
- name: checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go_version }}
- name: Run tests
run: go test -json ./... > test-results.json
- name: Annotate tests
if: always()
uses: guyarb/golang-test-annotations@v0.6.0
with:
test-results: test-results.json