0g-chain/.github/workflows/ci-lint.yml

18 lines
459 B
YAML
Raw Normal View History

2022-11-30 22:32:06 +00:00
name: Lint Checks
on:
workflow_call:
# run per commit ci checks against this commit
jobs:
proto-lint:
uses: ./.github/workflows/proto.yml
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2022-11-30 22:32:06 +00:00
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
2022-11-30 22:32:06 +00:00
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
golangci_lint_flags: --timeout 10m