Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temp2 #9

Closed
wants to merge 17 commits into from
Prev Previous commit
Next Next commit
commit3
  • Loading branch information
mohit-zangoh committed Apr 15, 2024
commit 3473eeebc7689db64ec0e0acd45253e2e0db49d2
64 changes: 32 additions & 32 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
run: go install golang.org/x/lint/golint@latest

- name: Setup reviewdog
# uses: reviewdog/action-setup@v1
run: |
go install ./cmd/reviewdog
uses: reviewdog/action-setup@v1
# run: |
# go install ./cmd/reviewdog

- name: Run reviewdog
env:
Expand Down Expand Up @@ -66,9 +66,9 @@ jobs:
run: go install golang.org/x/lint/golint@latest

- name: Setup reviewdog
# uses: reviewdog/action-setup@v1
run: |
go install ./cmd/reviewdog
uses: reviewdog/action-setup@v1
# run: |
# go install ./cmd/reviewdog

- name: Run reviewdog (github-pr-check)
continue-on-error: true
Expand Down Expand Up @@ -245,31 +245,31 @@ jobs:
reporter: github-check
level: info

textlint:
name: runner / textlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-setup@v1
- run: npm install
- name: textlint
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npx textlint -f checkstyle README.md | \
reviewdog -f=checkstyle -name="textlint" -reporter=github-check -level=info
# textlint:
# name: runner / textlint
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: reviewdog/action-setup@v1
# - run: npm install
# - name: textlint
# env:
# REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# npx textlint -f checkstyle README.md | \
# reviewdog -f=checkstyle -name="textlint" -reporter=github-check -level=info

sarif:
name: runner / textlint sarif
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: reviewdog/action-setup@v1
- run: npm install
- name: textlint sarif
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npx textlint -f @microsoft/eslint-formatter-sarif README.md | \
reviewdog -f=sarif -name="textlint" -reporter=github-check -level=info
# sarif:
# name: runner / textlint sarif
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: reviewdog/action-setup@v1
# - run: npm install
# - name: textlint sarif
# env:
# REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# npx textlint -f @microsoft/eslint-formatter-sarif README.md | \
# reviewdog -f=sarif -name="textlint" -reporter=github-check -level=info

Loading