Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bzp2010 committed Sep 2, 2021
1 parent 2278ebe commit 36e2761
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions .github/workflows/go-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +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

Expand All @@ -48,8 +27,6 @@ jobs:

gofmt:
runs-on: ubuntu-latest
needs: go-filter
if: needs.go-filter.outputs.matches == 'true'
steps:
- uses: actions/checkout@v2
- name: setup go
Expand Down

0 comments on commit 36e2761

Please sign in to comment.