This repository has been archived by the owner on Jan 19, 2024. It is now read-only.
chore: Update README.md #32
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] | |
jobs: | |
reviewdog: | |
name: reviewdog | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code. | |
uses: actions/[email protected] | |
- name: Set up Go | |
uses: actions/[email protected] | |
with: | |
go-version-file: "go.mod" | |
id: go | |
- name: Install linters | |
run: "( mkdir linters && cd linters && go get golang.org/x/lint/golint )" | |
- uses: reviewdog/[email protected] | |
with: | |
reviewdog_version: latest | |
- name: Run reviewdog | |
env: | |
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
reviewdog -reporter=github-pr-review |