Skip to content

Commit

Permalink
chore: remove generate ci check
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-chaing committed Feb 23, 2024
1 parent 3d3e8d0 commit 56b235c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ jobs:
# Add GOFLAGS to slove the issue: <Error: : error obtaining VCS status: exit status 128. Use -buildvcs=false to disable VCS stamping. (typecheck)>
GOFLAGS=-buildvcs=false golangci-lint --config .golangci.yml run ./...
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: 'go.mod'
cache: true
- run: go generate ./...
- name: git diff
run: |
git diff --compact-summary --exit-code || \
(echo; echo "Unexpected difference in directories after code generation. Run 'go generate ./...' command and commit."; exit 1)
# generate:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# - uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
# with:
# go-version-file: 'go.mod'
# cache: true
# - run: go generate ./...
# - name: git diff
# run: |
# git diff --compact-summary --exit-code || \
# (echo; echo "Unexpected difference in directories after code generation. Run 'go generate ./...' command and commit."; exit 1)

# Run acceptance tests in a matrix with Terraform CLI versions
test:
Expand Down

0 comments on commit 56b235c

Please sign in to comment.