Update README and remove debug

This commit is contained in:
Takayuki Nakata 2022-11-10 22:27:08 +09:00
parent 4c444275bf
commit a918fdd31f
4 changed files with 2 additions and 12 deletions

View file

@ -10,21 +10,13 @@ This action runs [Clippy](https://github.com/rust-lang/rust-clippy) with
```yml ```yml
name: clippy-action name: clippy-action
on: [pull_request] on: [pull_request]
env:
CARGO_TERM_COLOR: always
jobs: jobs:
clippy: clippy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Install latest nightly - uses: dtolnay/rust-toolchain@stable
uses: actions-rs/toolchain@v1 - uses: giraffate/clippy-action@main
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: clippy-action
uses: giraffate/clippy-action@main
with: with:
reporter: 'github-pr-review' reporter: 'github-pr-review'
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}

BIN
dist/index.js generated vendored

Binary file not shown.

BIN
dist/index.js.map generated vendored

Binary file not shown.

View file

@ -75,8 +75,6 @@ async function run(): Promise<void> {
} }
) )
core.info(`debug: ${output.join('\n')}`)
process.env['REVIEWDOG_GITHUB_API_TOKEN'] = process.env['REVIEWDOG_GITHUB_API_TOKEN'] =
core.getInput('github_token') core.getInput('github_token')
return await exec.exec( return await exec.exec(