Skip to content

Bump actions/setup-go from 4 to 5 #57

Bump actions/setup-go from 4 to 5

Bump actions/setup-go from 4 to 5 #57

Workflow file for this run

name: Tests
"on":
pull_request: {}
push:
branches:
- main
jobs:
unit:
name: Unit Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Install richgo
run: go install -ldflags="-s -w" github.com/kyoh86/richgo
- name: Run Tests
run: richgo test -v ./... -coverprofile cover.out
env:
RICHGO_FORCE_COLOR: "1"
- uses: codecov/codecov-action@v3