From efd287da027a0b2dd9c27a0e16e4cada62f71b08 Mon Sep 17 00:00:00 2001 From: Aleksandr Tolstikhin Date: Fri, 6 Dec 2024 03:04:48 +0700 Subject: [PATCH] Fix yml --- .gitea/workflows/pipeline.yml | 3 ++- .golangci.yml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .golangci.yml diff --git a/.gitea/workflows/pipeline.yml b/.gitea/workflows/pipeline.yml index 3735ce52..31f97f3b 100644 --- a/.gitea/workflows/pipeline.yml +++ b/.gitea/workflows/pipeline.yml @@ -4,6 +4,7 @@ on: branches: - master - v3 + - v4 jobs: lint: name: lint @@ -20,7 +21,7 @@ jobs: - name: lint uses: https://github.com/golangci/golangci-lint-action@v6 with: - version: v1.58 + version: v1.62.2 test: name: test runs-on: ubuntu-latest diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 00000000..2bb1c300 --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,5 @@ +run: + concurrency: 8 + deadline: 5m + issues-exit-code: 1 + tests: true