chore: update
This commit is contained in:
@@ -12,7 +12,7 @@ on:
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Lint (go vet + staticcheck)
|
||||
name: Static Analysis (golangci-lint)
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@@ -24,20 +24,12 @@ jobs:
|
||||
go-version: "1.24.4"
|
||||
cache-dependency-path: backend/gestion/go.sum
|
||||
|
||||
- name: Download dependencies
|
||||
working-directory: backend/gestion
|
||||
run: go mod download
|
||||
|
||||
- name: go vet
|
||||
working-directory: backend/gestion
|
||||
run: go vet ./...
|
||||
|
||||
- name: Install staticcheck
|
||||
run: go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||
|
||||
- name: staticcheck
|
||||
working-directory: backend/gestion
|
||||
run: staticcheck ./... || true
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: latest
|
||||
working-directory: backend/gestion
|
||||
args: --timeout=5m
|
||||
|
||||
build:
|
||||
name: Build
|
||||
|
||||
Reference in New Issue
Block a user