From 56b235c79ecd7662a7b2481f84dae355cd538038 Mon Sep 17 00:00:00 2001 From: "daniel.chiang" Date: Fri, 23 Feb 2024 17:11:28 +0800 Subject: [PATCH] chore: remove generate ci check --- .github/workflows/test.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 68ca3c5..a8fdd8e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,19 +37,19 @@ jobs: # Add GOFLAGS to slove the issue: 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: