From 15886ecc209cebd4461c2838588947d17f9a817f Mon Sep 17 00:00:00 2001 From: Yar Kravtsov Date: Sun, 24 Sep 2023 12:28:30 +0300 Subject: [PATCH] chore: Add staticcheck GHA pipeline --- .github/workflows/{golangci-lint.yml => ci.yml} | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) rename .github/workflows/{golangci-lint.yml => ci.yml} (58%) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/ci.yml similarity index 58% rename from .github/workflows/golangci-lint.yml rename to .github/workflows/ci.yml index dad32dc..8bbabd6 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: golangci-lint +name: CI on: push: branches: @@ -13,9 +13,13 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: '1.21' - cache: false + go-version: "1.21" - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.54 + version: "v1.54" + - name: staticcheck + uses: dominikh/staticcheck-action@v1.2.0 + with: + version: "2022.1.1" + install-go: false