Skip to content

Commit 7021a95

Browse files
committed
πŸ‘· ci: use shared golangci-lint action
1 parent afb5ce6 commit 7021a95

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

β€Ž.github/workflows/build.ymlβ€Ž

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
- "deploy/**"
1818
- "!tests/**"
1919
workflow_dispatch:
20-
20+
2121
permissions:
2222
contents: read
2323

@@ -30,11 +30,7 @@ jobs:
3030
- name: πŸ”Ž Docker Lint
3131
run: bash -c "make dockerlint"
3232
- name: πŸ”Ž golangci-lint
33-
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9
34-
with:
35-
version: v2.7.1
36-
args: --timeout=300s
37-
only-new-issues: true
33+
uses: outscale/goutils/.github/actions/lint@main
3834
- name: πŸ”Ž Reuse check
3935
run: make lint-reuse
4036
shell: bash
@@ -53,4 +49,4 @@ jobs:
5349
# if: ${{ github.event_name != 'pull_request' }}
5450
# uses: github/codeql-action/upload-sarif@v4
5551
# with:
56-
# sarif_file: './.trivyscan/report.sarif'
52+
# sarif_file: './.trivyscan/report.sarif'

0 commit comments

Comments
Β (0)