This repository has been archived by the owner on Feb 11, 2024. It is now read-only.
Bump actions/upload-pages-artifact from 2 to 3 #219
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: | |
golangci-lint: | |
name: golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: golangci-lint | |
uses: reviewdog/action-golangci-lint@v2 | |
with: | |
reporter: github-pr-review | |
level: warning | |
misspell: | |
name: misspell | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
- name: misspell | |
uses: reviewdog/action-misspell@v1 | |
with: | |
reporter: github-pr-review | |
level: warning | |
locale: "US" | |
actionlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: reviewdog/action-actionlint@v1 | |
with: | |
reporter: github-pr-review | |
level: warning | |
ktlint: | |
name: Check Code Quality | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v3 | |
- name: ktlint | |
uses: ScaCap/action-ktlint@master | |
with: | |
github_token: ${{ secrets.github_token }} | |
reporter: github-pr-review # Change reporter |