Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Lagniappe CI Jobs

Lagniappe CI Jobs #3

Workflow file for this run

# Generation assurance test workflow
# (e.g. no uncovered diffs in go-mocks)
name: gen-test
on:
push:
branches: [ "master", "development" ]
pull_request:
branches: [ "master", "development" ]
jobs:
ensure-mock-gen:
name: Ensure mock generation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Install mockgen
run: go install github.com/golang/mock/[email protected]
- name: Mock diff check
run: make go-gen-mocks && git diff --exit-code