Skip to content

Commit

Permalink
cleanup workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fentas committed Mar 27, 2024
1 parent de52d1d commit 9ab14dc
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,26 +47,4 @@ jobs:
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

generate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod

- name: Delete old generated files
run: find . -name 'zz_*.go' -delete

- name: Run go generate
run: go generate ./...

- name: Check uncommitted changes
run: git diff --exit-code

- if: failure()
run: echo "::error::Check failed, please run 'go generate ./...' and commit the changes."
slug: buyoio/b

0 comments on commit 9ab14dc

Please sign in to comment.