From d0da61d206c7271f985cc11e4fd4628638880c2a Mon Sep 17 00:00:00 2001 From: Alexander Matyushentsev Date: Tue, 29 Dec 2020 23:38:15 -0800 Subject: [PATCH] switch to golangci-lint-action --- .github/workflows/ci.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ee87efd0..9a1b4f56 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,7 +17,10 @@ jobs: with: go-version: '1.15.3' - run: make test - - uses: actions-contrib/golangci-lint@v1 + - uses: golangci/golangci-lint-action@v2 + with: + version: v1.29 + args: --timeout 5m env: GOROOT: "" - uses: codecov/codecov-action@v1 @@ -25,7 +28,7 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} #required file: ./coverage.out publish: - if: github.event_name == 'push' && github.ref == 'refs/heads/master' + if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release-1.0') runs-on: ubuntu-latest steps: - uses: actions/checkout@master