diff --git a/README.md b/README.md index b461de0..072b846 100644 --- a/README.md +++ b/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 }} diff --git a/dist/index.js b/dist/index.js index 6291e57..0a94336 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index 726110d..59c7484 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/main.ts b/src/main.ts index 0603e3a..393847d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -75,8 +75,6 @@ async function run(): Promise { } ) - core.info(`debug: ${output.join('\n')}`) - process.env['REVIEWDOG_GITHUB_API_TOKEN'] = core.getInput('github_token') return await exec.exec(