add scripts for running PeerDB using prebuilt artifacts and development #1035
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GolangCI-Lint | |
on: | |
pull_request: | |
branches: | |
- "main" | |
jobs: | |
golangci-lint: | |
permissions: | |
checks: write | |
contents: read | |
pull-requests: write | |
strategy: | |
matrix: | |
runner: [ubicloud] | |
runs-on: ${{ matrix.runner }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: golangci-lint | |
uses: reviewdog/action-golangci-lint@v2 | |
with: | |
workdir: ./flow | |
reporter: github-pr-review | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
golangci_lint_flags: "--timeout 10m" | |
fail_on_error: true | |
env: | |
REVIEWDOG_TOKEN: ${{ secrets.REVIEWDOG_TOKEN }} |