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
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ workflows:
version: 2.1
node-multi-build:
jobs:
- check-coding-style
- node-v10
- node-v12
- node-v14
Expand All @@ -17,6 +18,9 @@ workflows:

version: 2.1

orbs:
shellcheck: circleci/shellcheck@volatile

commands:
show-npm-version:
steps:
Expand Down Expand Up @@ -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
r0qs marked this conversation as resolved.
Show resolved Hide resolved

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