Skip to content

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

Cleanup and housekeeping: remove unused code and fix linter warnings

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

Workflow file for this run

name: CI
on: [pull_request]
jobs:
golangci-lint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
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
with:
fetch-depth: 0
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
with:
workdir: ./${{ matrix.module }}
github_token: ${{ secrets.GITHUB_TOKEN }}
golangci_lint_flags: "--timeout=10m"
reviewdog_flags: "-name=golangci-${{ matrix.module }}"
reporter: github-pr-check
filter_mode: nofilter
fail_on_error: true