summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml14
1 files changed, 8 insertions, 6 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 04208eeb..8f4dc73b 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -130,17 +130,19 @@ jobs:
file: ./coverage-ci/summary.txt
fail_ci_if_error: false
- golangci-check:
+
+ golangci-lint:
name: Golang-CI (lint)
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-latest
steps:
- name: Check out code
- uses: actions/checkout@v1
+ uses: actions/checkout@v2
- - name: golangci-lint
- uses: reviewdog/action-golangci-lint@v1 # action page: <https://github.com/reviewdog/action-golangci-lint>
+ - name: Run linter
+ uses: golangci/golangci-lint-action@v2 # Action page: <https://github.com/golangci/golangci-lint-action>
with:
- github_token: ${{ secrets.github_token }}
+ version: v1.35 # without patch version
+ only-new-issues: false # show only new issues if it's a pull request
image:
name: Build docker image