Skip to content

Commit

Permalink
Merge pull request #69 from sksat/update-example-workflow
Browse files Browse the repository at this point in the history
Update example workflow to real-world example
  • Loading branch information
sksat authored Feb 8, 2024
2 parents c6e8edb + ddf6320 commit 60367ad
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,29 @@ It depends on [clippy-reviewdog-filter](https://github.com/qnighy/clippy-reviewd

```yaml
name: reviewdog / clippy
on: pull_request

on:
push:
branches: [ main ]
pull_request:

jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: install clippy
uses: dtolnay/rust-toolchain@stable
with:
components: clippy

- uses: sksat/action-clippy@main
- uses: sksat/action-clippy@v0.7.0
if: github.event_name == 'push'
with:
reporter: github-check

- uses: sksat/action-clippy@v0.7.0
if: github.event_name == 'pull_request'
with:
reporter: github-pr-review
```
Expand Down

0 comments on commit 60367ad

Please sign in to comment.