Skip to content

Merge pull request #26 from EringiShimeji/auth/topic #18

Merge pull request #26 from EringiShimeji/auth/topic

Merge pull request #26 from EringiShimeji/auth/topic #18

Workflow file for this run

name: Go Generate
on:
push:
branches:
- main
pull_request:
paths:
- .github/workflows/go-generate.yaml
- "backend/**.go"
- backend/app/go.mod
- backend/app/go.sum
jobs:
go-generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22.5
go-version-file: backend/app/go.mod
cache-dependency-path: backend/app/go.sum
- run: go install go.uber.org/mock/mockgen@latest
- run: go generate ./...
working-directory: backend/app
- run: git diff --exit-code