Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
7651c3b346
commit
f32441baec
1 changed files with 6 additions and 6 deletions
|
|
@ -5,14 +5,14 @@ on:
|
|||
jobs:
|
||||
lint_job:
|
||||
runs-on: raw
|
||||
container:
|
||||
image: golangci/golangci-lint:v1.56.2
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup golang
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.21"
|
||||
|
||||
- name: Run linters
|
||||
uses: https://github.com/wearerequired/lint-action@v2
|
||||
with:
|
||||
gofmt: true
|
||||
golint: true
|
||||
run: golangci-lint run --issues-exit-code 0 --out-format code-climate | tee gl-code-quality-report.json
|
||||
Loading…
Add table
Add a link
Reference in a new issue