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:
|
jobs:
|
||||||
lint_job:
|
lint_job:
|
||||||
runs-on: raw
|
runs-on: raw
|
||||||
container:
|
|
||||||
image: golangci/golangci-lint:v1.56.2
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Setup golang
|
||||||
|
uses: actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: "1.21"
|
||||||
|
|
||||||
- name: Run linters
|
- name: Run linters
|
||||||
uses: https://github.com/wearerequired/lint-action@v2
|
run: golangci-lint run --issues-exit-code 0 --out-format code-climate | tee gl-code-quality-report.json
|
||||||
with:
|
|
||||||
gofmt: true
|
|
||||||
golint: true
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue