new post: RubyKaigi 2024 で LT 登壇した 兼 参加記 & add SpeakerDeck, Mastodon components #1150
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: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: oven-sh/setup-bun@v1 | |
- uses: reviewdog/action-setup@v1 | |
- run: bun install --frozen-lockfile | |
- run: | | |
result="$(bun run textlint 'contents/**/*.mdx' -f checkstyle || true)" | |
echo "$result" | reviewdog -f=checkstyle -name="textlint" -reporter='github-pr-check' | |
env: | |
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} |