Compare commits

...

1 Commits

Author SHA1 Message Date
Vinícius Lourenço
4f7a9c1597 ci(goci): use golangci action instead of cli 2026-05-05 12:36:16 -03:00

View File

@@ -38,11 +38,15 @@ jobs:
github.event_name == 'merge_group' ||
(github.event_name == 'pull_request' && ! github.event.pull_request.head.repo.fork && github.event.pull_request.user.login != 'dependabot[bot]' && ! contains(github.event.pull_request.labels.*.name, 'safe-to-test')) ||
(github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'safe-to-test'))
uses: signoz/primus.workflows/.github/workflows/go-lint.yaml@main
secrets: inherit
with:
PRIMUS_REF: main
GO_VERSION: 1.24
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: '1.25'
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: v2.11
deps:
if: |
github.event_name == 'merge_group' ||