Skip to content

Commit

Permalink
maybe fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
veqryn committed Dec 2, 2023
1 parent 77927aa commit 20f21b8
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
go-version: 'stable'
cache: false
- name: golangci-lint ${{ matrix.go-module }}
- name: Github-action golangci-lint ${{ matrix.go-module }}
uses: golangci/golangci-lint-action@v3
with:
# Require: The version of golangci-lint to use.
Expand All @@ -37,7 +37,7 @@ jobs:
version: latest

# Optional: working directory, useful for monorepos
working-directory: ${{ matrix.go-module }}
# working-directory: somedir

# Optional: golangci-lint command line arguments.
#
Expand All @@ -46,7 +46,7 @@ jobs:
# args: --timeout=30m --config=/my/path/.golangci.yml --issues-exit-code=0

# Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: false
only-new-issues: true

# Optional: if set to true, then all caching functionality will be completely disabled,
# takes precedence over all other caching options.
Expand All @@ -61,9 +61,5 @@ jobs:
# Optional: The mode to install golangci-lint. It can be 'binary' or 'goinstall'.
# install-mode: "goinstall"

- name: Debug
run: |
pwd
ls -la
golangci-lint run ./...
golangci-lint run ./open-telemetry/open-telemetry-main.go
- name: Manual golangci-lint ${{ matrix.go-module }}
run: golangci-lint run ./...

0 comments on commit 20f21b8

Please sign in to comment.