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

Feature/add linter ci #70

Closed
wants to merge 2 commits into from
Closed
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: 9 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This is a basic workflow to help you get started with Actions

name: CI
name: LBC CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
branches: [ master, feature/add-linter-ci]
pull_request:
branches: [ master ]

Expand Down Expand Up @@ -35,15 +35,11 @@ jobs:

- name: Install dependencies
run: npm ci
# - name: Lint source and tests
# run: npm run lint

- name: Unit test smart contracts
run: npm test
# - name: Coverage report
# run: npm run coverage
# - name: Coveralls
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}
# - name: Reproduce build
# run: npm publish --dry-run
run: npm run test

- name: Execute slither
uses: crytic/[email protected]
with:
target: 'contracts/'