Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI job to check coding style #662

Merged
merged 1 commit into from
Sep 28, 2022
Merged
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
Add CI job to check coding style
r0qs committed Sep 28, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 86749f5f4347e7dabb4113e6bfc7564809d7bca9
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@ workflows:
version: 2.1
node-multi-build:
jobs:
- check-coding-style
- node-v10
- node-v12
- node-v14
@@ -17,6 +18,9 @@ workflows:

version: 2.1

orbs:
shellcheck: circleci/shellcheck@volatile

commands:
show-npm-version:
steps:
@@ -182,6 +186,24 @@ jobs:
name: coveralls
command: npm run coveralls

check-coding-style:
docker:
- image: cimg/node:current
steps:
- show-npm-version
- checkout
- shellcheck/install
- install-dependencies:
cache-id: solc-js
- run:
name: Check for javascript/typescript coding style
command: npm run lint
- shellcheck/check:
ignore-dirs: |
./.git
./node_modules
./dist

hardhat-core-default-solc:
# Runs out of memory on 'medium'.
resource_class: medium+