diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c841b55..7af8e1c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,7 @@ --- name: CI on: - push: + pull_request: jobs: ci-lint: runs-on: ubuntu-latest @@ -13,8 +13,8 @@ jobs: uses: actions/checkout@v4.1.7 - name: yamllint - # uses: ibiqlik/action-yamllint@v3 - uses: reviewdog/action-yamllint@v1 + uses: ibiqlik/action-yamllint@v3 + # uses: reviewdog/action-yamllint@v1 # failed to detect errors... - name: vale-action uses: errata-ai/vale-action@v2.1.0 diff --git a/01-defaults/.golangci.yml b/01-defaults/.golangci.yml index 4ac56e3..e7540db 100644 --- a/01-defaults/.golangci.yml +++ b/01-defaults/.golangci.yml @@ -26,3 +26,4 @@ linters: # It's a set of rules from staticcheck. See https://staticcheck.io/ - staticcheck + dds:dds diff --git a/02-basic/README.md b/02-basic/README.md index 0eda0de..f49ac9f 100644 --- a/02-basic/README.md +++ b/02-basic/README.md @@ -12,6 +12,8 @@ License: MIT golangci-lint configuration file made by @ccoVeille Source: https://github.com/ccoVeille/golangci-lint-config-examples/tree/main/02-basics +forgoten + ## Enabled linters ### errcheck