Skip to content

Cleanup and housekeeping: remove unused code and fix linter warnings #137

Cleanup and housekeeping: remove unused code and fix linter warnings

Cleanup and housekeeping: remove unused code and fix linter warnings #137

Workflow file for this run

name: GolangCIlint
on: pull_request
jobs:
golangci-lint:
name: GolangCI-Lint
runs-on: ubuntu-latest
matrix:

Check failure on line 9 in .github/workflows/golangci-lint.yml

View workflow run for this annotation

GitHub Actions / GolangCIlint

Invalid workflow file

The workflow is not valid. .github/workflows/golangci-lint.yml (Line: 9, Col: 5): Unexpected value 'matrix' .github/workflows/golangci-lint.yml (Line: 17, Col: 9): Unexpected value 'working-directory'
module: [ ads, crypto, serializer, core, logger, app, constraints, ds, web, stringify, runtime, codegen, kvstore, ierrors, apputils, log, lo ]
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
working-directory: ./${{ matrix.module }}
with:
version: v1.53.3
github_token: ${{ secrets.GITHUB_TOKEN }}
golangci_lint_flags: "--timeout=10m"
reporter: github-pr-check
filter_mode: nofilter
fail_on_error: true