chore: remove deprecated linter noexecinquery #340
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.21.6' | |
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 |