This repository has been archived by the owner on Dec 21, 2023. It is now read-only.
chore: update README.md #749
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: reviewdog | |
on: [pull_request] | |
env: | |
GO_VERSION: "1.20" | |
jobs: | |
reviewdog: | |
name: reviewdog | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
id: go | |
- name: Check out code. | |
uses: actions/checkout@v3 | |
- name: reviewdog-action | |
uses: reviewdog/action-golangci-lint@v2.3.3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
go_version: ${{ env.GO_VERSION }} | |
fail_on_error: true | |
reporter: github-pr-review | |
golangci_lint_flags: --timeout 3m |