Skip to content
Merged
Show file tree
Hide file tree
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
27 changes: 22 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,48 @@ on:
- v5

jobs:
# Note: changing the name of the job disables Slither checks with the error:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice finding !

# Warning: Code scanning cannot determine the alerts introduced by this pull
# request, because 1 configuration present on refs/heads/develop was not found:
#
# Actions workflow (main.yml)
# ❓ .github/workflows/main.yml:coverage
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Init
- name: Set up Nodejs
uses: actions/setup-node@v4
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
- name: Run static analysis with Slither
uses: crytic/[email protected]
id: slither
with:
target: "contracts/tools/testing/slither/"
solc-version: '0.8.21'
slither-args: --checklist --markdown-root ${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/
node-version: "20"
fail-on: none # TODO set this to high or other
sarif: results.sarif
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.slither.outputs.sarif }}
sarif_file: results.sarif
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- [x] `IexecPoco2Delegate.sol`

### Features
- Sunset Jenkins pipeline (#178)
- Re-use variable in `IexecPoco2Delegate` in `contribute(...)` function. (#168)
- Remove unnecessary back and forth transfers in `IexecPoco2Delegate` happening during `claim(..)`. (#167)
- Remove references to blockscout v5. (#161)
Expand Down
89 changes: 0 additions & 89 deletions Jenkinsfile

This file was deleted.

Loading