make dogfood

This commit is contained in:
Dustin Decker 2022-01-19 21:31:48 -08:00
parent 089b5c9063
commit 8b15bc0a0a
2 changed files with 33 additions and 0 deletions

29
.github/workflows/dogfood.yml vendored Normal file
View file

@ -0,0 +1,29 @@
name: Dogfood
on:
push:
tags:
- v*
branches:
- main
pull_request:
jobs:
test:
strategy:
matrix:
go-version: [1.17.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Dogfood
run: make dogfood

View file

@ -8,6 +8,10 @@ PROTOS_IMAGE=us-docker.pkg.dev/thog-artifacts/public/go-ci-1.17-1
.PHONY: protos
.PHONY: protos-windows
.PHONY: vendor
.PHONY: dogfood
dogfood:
CGO_ENABLED=0 go run . git file://. --json --debug
install:
CGO_ENABLED=0 go install .