Skip to content

updates to allow compilation #1383

updates to allow compilation

updates to allow compilation #1383

Workflow file for this run

name: Security Scan
on: # yamllint disable-line rule:truthy
push:
workflow_call:
workflow_dispatch: {}
jobs:
solhint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
- run: npm ci
- run: npx solhint "contracts/**/*.sol"
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
- run: npm ci
- run: npx hardhat compile
- name: solidity-coverage
run: npx hardhat coverage
- name: coveralls
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}