From 86b5ba70d7225779979d51dbe3adfc28cc2c1926 Mon Sep 17 00:00:00 2001 From: bzp2010 Date: Fri, 3 Sep 2021 03:15:07 +0800 Subject: [PATCH] fix: lint --- .github/workflows/go-lint.yml | 36 ----------------------------------- 1 file changed, 36 deletions(-) diff --git a/.github/workflows/go-lint.yml b/.github/workflows/go-lint.yml index 7f495aa5b6..c136c72020 100644 --- a/.github/workflows/go-lint.yml +++ b/.github/workflows/go-lint.yml @@ -12,44 +12,8 @@ on: - 'api/**' jobs: - go-filter: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - submodule: true - - - uses: ./.github/actions/paths-filter - id: changes - with: - filters: | - go: - - '**.go' - working-directory: 'api' - list-files: shell - outputs: - matches: ${{ steps.changes.outputs.go }} - files: ${{ steps.changes.outputs.go_files }} - - golangci: - runs-on: ubuntu-latest - needs: go-filter - if: needs.go-filter.outputs.matches == 'true' - steps: - - uses: actions/checkout@v2 - - - name: golangci-lint - uses: golangci/golangci-lint-action@v2 - with: - version: latest - working-directory: api - args: --tests=false - only-new-issues: true - gofmt: runs-on: ubuntu-latest - needs: go-filter - if: needs.go-filter.outputs.matches == 'true' steps: - uses: actions/checkout@v2 - name: setup go