Merge pull request #373 from crytic/re-enable-medusa #332
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint Check Format | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install npm and dependencies | |
run: | | |
npm ci | |
- name: Remove Medusa uncessary files | |
run: | | |
rm -rf program-analysis/medusa/chain | |
rm -rf program-analysis/medusa/compilation | |
rm -rf program-analysis/medusa/fuzzing | |
rm program-analysis/medusa/docs/theme/highlight.js | |
- name: Run lint | |
run: | | |
npm run lint:format |