Skip to content

Commit

Permalink
Surpress golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ebi-yade committed Nov 28, 2024
1 parent 1f1a1c8 commit add377b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/reviewdog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ permissions:
issues: write

jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
level: warning
golangci_lint_flags: "--config=.golangci.yaml"
filter_mode: diff_context
reporter: github-pr-review
fail_on_error: true
# golangci-lint:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: golangci-lint
# uses: reviewdog/action-golangci-lint@v2
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# level: warning
# golangci_lint_flags: "--config=.golangci.yaml"
# filter_mode: diff_context
# reporter: github-pr-review
# fail_on_error: true

actionlint:
runs-on: ubuntu-latest
Expand Down
3 changes: 1 addition & 2 deletions spans.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ import (
"fmt"
"log/slog"

pkgotel "github.com/ebi-yade/spans/pkg/otel"
"go.opentelemetry.io/otel/attribute"
"go.opentelemetry.io/otel/trace"

pkgotel "github.com/ebi-yade/spans/pkg/otel"
)

type KeyValue struct {
Expand Down

0 comments on commit add377b

Please sign in to comment.