Skip to content

chore(deps): update actions/checkout action to v4 #53

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #53

Workflow file for this run

name: Tests
on:
push:
branches:
- $default-branch
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: "1.21"
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Test
run: go test -v -race -coverpkg=./... -coverprofile=coverage.txt ./...
- uses: codecov/codecov-action@v3
go-generate:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: "1.21"
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- run: go generate ./...
- name: Check go generate diff
run: (! git diff | grep '^') # check diff