mirror of
https://github.com/giraffate/clippy-action.git
synced 2025-01-31 14:01:05 +01:00
Update README and remove debug
This commit is contained in:
parent
4c444275bf
commit
a918fdd31f
4 changed files with 3 additions and 14 deletions
12
README.md
12
README.md
|
@ -10,21 +10,13 @@ This action runs [Clippy](https://github.com/rust-lang/rust-clippy) with
|
|||
```yml
|
||||
name: clippy-action
|
||||
on: [pull_request]
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
jobs:
|
||||
clippy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install latest nightly
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
components: rustfmt, clippy
|
||||
- name: clippy-action
|
||||
uses: giraffate/clippy-action@main
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- uses: giraffate/clippy-action@main
|
||||
with:
|
||||
reporter: 'github-pr-review'
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
1
dist/index.js
generated
vendored
1
dist/index.js
generated
vendored
|
@ -200,7 +200,6 @@ function run() {
|
|||
}
|
||||
}
|
||||
});
|
||||
core.info(`debug: ${output.join('\n')}`);
|
||||
process.env['REVIEWDOG_GITHUB_API_TOKEN'] =
|
||||
core.getInput('github_token');
|
||||
return yield exec.exec(reviewdog, [
|
||||
|
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
|
@ -75,8 +75,6 @@ async function run(): Promise<void> {
|
|||
}
|
||||
)
|
||||
|
||||
core.info(`debug: ${output.join('\n')}`)
|
||||
|
||||
process.env['REVIEWDOG_GITHUB_API_TOKEN'] =
|
||||
core.getInput('github_token')
|
||||
return await exec.exec(
|
||||
|
|
Loading…
Add table
Reference in a new issue