Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Bring clippy-check up to date with modern APIs #165

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/gallium
20 changes: 7 additions & 13 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
name: 'rust-clippy-check'
description: 'Run clippy and annotate the diff with errors and warnings'
author: 'actions-rs team'
name: "rust-clippy-check"
description: "Run clippy and annotate the diff with errors and warnings"
author: "actions-rs team, modified by @Kristof-Mattei"
branding:
icon: play-circle
color: black
color: orange

inputs:
token:
description: GitHub token
required: true
toolchain:
description: Toolchain to use (without the `+` sign, ex. `nightly`)
required: false
Expand All @@ -17,11 +14,8 @@ inputs:
required: false
use-cross:
description: Use cross instead of cargo
default: false
name:
description: Display name of the created GitHub check. Must be unique across several actions-rs/clippy-check invocations.
default: clippy
required: false

runs:
using: 'node12'
main: 'dist/index.js'
using: "node16"
main: "dist/index.js"
202 changes: 201 additions & 1 deletion dist/index.js

Large diffs are not rendered by default.

16,336 changes: 8,097 additions & 8,239 deletions package-lock.json

Large diffs are not rendered by default.

21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,18 @@
"url": "https://github.com/actions-rs/clippy-check/issues"
},
"dependencies": {
"@actions-rs/core": "0.1.3",
"@actions/core": "^1.2.4",
"@actions/github": "^3.0.0",
"npm-check-updates": "^7.0.1",
"@actions-rs/core": "^0.1.6",
"@actions/core": "^1.8.0",
"@actions/github": "^5.0.1",
"string-argv": "^0.3.1"
},
"devDependencies": {
"@types/jest": "^26.0.0",
"@types/node": "^14.0.13",
"@zeit/ncc": "^0.22.3",
"jest": "^26.0.1",
"jest-circus": "^26.0.1",
"ts-jest": "^26.1.0",
"typescript": "^3.9.5"
"@types/jest": "^27.5.1",
"@types/node": "^16",
"@vercel/ncc": "^0.33.4",
"jest": "^28.1.0",
"jest-circus": "^28.1.0",
"ts-jest": "^28.0.2",
"typescript": "^4.6.4"
}
}
Loading