Skip to content

Commit 1470213

Browse files
authored
Sunset Jenkins pipeline (#178)
2 parents 0d55ac8 + 75f0084 commit 1470213

File tree

3 files changed

+23
-94
lines changed

3 files changed

+23
-94
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,48 @@ on:
1010
- v5
1111

1212
jobs:
13+
# Note: changing the name of the job disables Slither checks with the error:
14+
# Warning: Code scanning cannot determine the alerts introduced by this pull
15+
# request, because 1 configuration present on refs/heads/develop was not found:
16+
#
17+
# Actions workflow (main.yml)
18+
# ❓ .github/workflows/main.yml:coverage
1319
coverage:
1420
runs-on: ubuntu-latest
1521
steps:
1622
- name: Checkout
1723
uses: actions/checkout@v4
18-
- name: Init
24+
- name: Set up Nodejs
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: 20
28+
cache: 'npm' # Cache dependencies
29+
- name: Install dependencies
1930
run: npm ci
31+
- name: Build
32+
run: npm run build
33+
- name: Check storage layout
34+
run: npm run test-storage-layout
35+
- name: Run deployment
36+
# Basic deployment to make sure everything is ok.
37+
# Could be removed in the future if not relevant.
38+
run: npm run deploy
2039
- name: Run coverage
2140
run: npm run coverage
2241
- name: Upload coverage reports to Codecov
2342
uses: codecov/codecov-action@v4.0.1
2443
with:
2544
token: ${{ secrets.CODECOV_TOKEN }}
2645
slug: iExecBlockchainComputing/PoCo
27-
- name: Run static analysis with slither
46+
- name: Run static analysis with Slither
2847
uses: crytic/slither-action@v0.4.0
29-
id: slither
3048
with:
3149
target: "contracts/tools/testing/slither/"
3250
solc-version: '0.8.21'
3351
slither-args: --checklist --markdown-root ${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/
34-
node-version: "20"
3552
fail-on: none # TODO set this to high or other
3653
sarif: results.sarif
3754
- name: Upload SARIF file
3855
uses: github/codeql-action/upload-sarif@v3
3956
with:
40-
sarif_file: ${{ steps.slither.outputs.sarif }}
57+
sarif_file: results.sarif

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- [x] `IexecPoco2Delegate.sol`
77

88
### Features
9+
- Sunset Jenkins pipeline (#178)
910
- Re-use variable in `IexecPoco2Delegate` in `contribute(...)` function. (#168)
1011
- Remove unnecessary back and forth transfers in `IexecPoco2Delegate` happening during `claim(..)`. (#167)
1112
- Remove references to blockscout v5. (#161)

Jenkinsfile

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)