Skip to content

Commit

Permalink
Merge pull request #513 from twpayne/fix-release-builds
Browse files Browse the repository at this point in the history
Include generate step in release builds
  • Loading branch information
twpayne committed Dec 13, 2019
2 parents de86467 + d106ef6 commit 871fb53
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
uses: actions/checkout@v1
- name: Download Go modules
run: go mod download
- name: Generate
run: |
GO111MODULE=off go get -u github.com/gobuffalo/packr/v2/packr2
make generate
git diff --exit-code
- name: Build
run: go build ./...
- name: Run
Expand All @@ -27,11 +32,6 @@ jobs:
GO111MODULE=off go get -u mvdan.cc/gofumpt/gofumports
make format
git diff --exit-code
- name: Check generate
run: |
GO111MODULE=off go get -u github.com/gobuffalo/packr/v2/packr2
make generate
git diff --exit-code
- name: Check completions
run: |
make completions
Expand All @@ -47,6 +47,11 @@ jobs:
uses: actions/checkout@v1
- name: Download Go modules
run: go mod download
- name: Generate
run: |
GO111MODULE=off go get -u github.com/gobuffalo/packr/v2/packr2
make generate
git diff --exit-code
- name: Build
run: go build ./...
- name: Run
Expand Down Expand Up @@ -86,6 +91,11 @@ jobs:
uses: actions/checkout@v1
- name: Download Go modules
run: go mod download
- name: Generate
run: |
GO111MODULE=off go get -u github.com/gobuffalo/packr/v2/packr2
make generate
git diff --exit-code
- name: Set up Snapcraft
env:
SNAPCRAFT_LOGIN: ${{ secrets.SNAPCRAFT_LOGIN }}
Expand Down

0 comments on commit 871fb53

Please sign in to comment.