Run generate explicitly

This commit is contained in:
Mathias Petermann 2022-08-29 20:43:40 +02:00
parent 5f6427d146
commit c05cc378f0
No known key found for this signature in database
GPG key ID: DADC3DF6E81B66C1
2 changed files with 4 additions and 1 deletions

View file

@ -19,6 +19,9 @@ jobs:
with: with:
go-version: 1.17 go-version: 1.17
- name: Generate
run: go generate ./...
- name: Build - name: Build
run: go build -v ./... run: go build -v ./...

View file

@ -2,7 +2,7 @@ FROM golang:alpine as build
WORKDIR /root WORKDIR /root
COPY . /root COPY . /root
RUN go build . RUN go generate ./... && go build .
FROM alpine:latest FROM alpine:latest