Debug CI issue #731
Workflow file for this run
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
on: | |
push: | |
branches: | |
- feature/* | |
- bugfix/* | |
- develop | |
- release/* | |
- hotfix/* | |
- main | |
- v5 | |
jobs: | |
default: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Nodejs | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'npm' # Cache dependencies | |
- name: Install dependencies | |
run: npm ci | |
# - name: Build | |
# run: npm run build | |
# - name: Check storage layout | |
# run: npm run test-storage-layout | |
# - name: Run deployment | |
# # Basic deployment to make sure everything is ok. | |
# # Could be removed in the future if not relevant. | |
# run: npm run deploy | |
# - name: Run coverage | |
# run: npm run coverage | |
# - name: Upload coverage reports to Codecov | |
# uses: codecov/[email protected] | |
# with: | |
# token: ${{ secrets.CODECOV_TOKEN }} | |
# slug: iExecBlockchainComputing/PoCo | |
- name: Run static analysis with Slither | |
uses: crytic/[email protected] | |
with: | |
target: "contracts/tools/testing/slither/" | |
solc-version: '0.8.21' | |
slither-args: --checklist --markdown-root ${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/ | |
fail-on: none # TODO set this to high or other | |
sarif: results-new.sarif | |
- name: Upload SARIF file | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: results.sarif |