Skip to content

Commit

Permalink
ci: lint file patterns (#1286)
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba authored Aug 25, 2022
1 parent 547843e commit 2c2a1c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: technote-space/get-diff-action@v6.1.0
with:
PATTERNS: |
**/**.go
**/*.go
- uses: actions/setup-go@v3
if: env.GIT_DIFF
with:
Expand All @@ -30,7 +30,7 @@ jobs:
args: --timeout 8m
- name: golangci-lint pricefeeder
uses: golangci/golangci-lint-action@v3
if: env.GIT_DIFF
if: ${{ contains(env.GIT_DIFF, 'price-feeder/') }}
with:
version: latest
working-directory: price-feeder
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- uses: technote-space/get-diff-action@v6
with:
PATTERNS: |
**/**.proto
**/*.proto
- uses: bufbuild/buf-setup-action@v1
if: env.GIT_DIFF
- uses: bufbuild/buf-lint-action@v1
Expand Down

0 comments on commit 2c2a1c8

Please sign in to comment.