fix: dispatch json logger #3
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 all tests | |
on: [push] | |
jobs: | |
gotestsum: | |
name: gotestsum | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4.0.0 | |
with: | |
go-version-file: 'go.mod' | |
cache-dependency-path: 'go.sum' | |
- name: Setup gotestsum | |
uses: autero1/action-gotestsum@v2.0.0 | |
with: | |
gotestsum_version: 1.10.0 | |
- name: Sync go dependencies | |
run: go mod tidy | |
- name: Download go dependencies | |
run: go mod download | |
- name: Interact with gotestsum | |
run: gotestsum --format short-verbose -- --short ./... |