Skip to content

feat : exclude G115 in golang-lint #355

feat : exclude G115 in golang-lint

feat : exclude G115 in golang-lint #355

Workflow file for this run

name: CI
on:
push:
branches:
- '**'
tags-ignore:
- '**'
permissions:
contents: read
pull-requests: read
checks: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up database
run: docker compose -f docker-compose-test.yml up -d
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: false
- name: Generate Swagger
run: go install github.com/swaggo/swag/cmd/swag@latest && source ./scripts/swagger-gen.sh
- name: Lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
skip-pkg-cache: true
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./... -p 1