Skip to content

golangci-lint: add prealloc #1932

golangci-lint: add prealloc

golangci-lint: add prealloc #1932

Workflow file for this run

name: GolangCI-Lint
on:
pull_request:
branches:
- "main"
jobs:
golangci-lint:
permissions:
checks: write
contents: read
pull-requests: write
strategy:
matrix:
runner: [ubicloud-standard-4-ubuntu-2204-arm]
runs-on: ${{ matrix.runner }}
steps:
- name: checkout
uses: actions/checkout@v4
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 }}