Skip to content

Commit e8b9cd5

Browse files
committed
Fix CI
1 parent 156ef47 commit e8b9cd5

File tree

1 file changed

+21
-15
lines changed

1 file changed

+21
-15
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ 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:
@@ -22,21 +28,21 @@ jobs:
2228
cache: 'npm' # Cache dependencies
2329
- name: Install dependencies
2430
run: npm ci
25-
# - name: Build
26-
# run: npm run build
27-
# - name: Check storage layout
28-
# run: npm run test-storage-layout
29-
# - name: Run deployment
30-
# # Basic deployment to make sure everything is ok.
31-
# # Could be removed in the future if not relevant.
32-
# run: npm run deploy
33-
# - name: Run coverage
34-
# run: npm run coverage
35-
# - name: Upload coverage reports to Codecov
36-
# uses: codecov/[email protected]
37-
# with:
38-
# token: ${{ secrets.CODECOV_TOKEN }}
39-
# slug: iExecBlockchainComputing/PoCo
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
39+
- name: Run coverage
40+
run: npm run coverage
41+
- name: Upload coverage reports to Codecov
42+
uses: codecov/[email protected]
43+
with:
44+
token: ${{ secrets.CODECOV_TOKEN }}
45+
slug: iExecBlockchainComputing/PoCo
4046
- name: Run static analysis with Slither
4147
uses: crytic/[email protected]
4248
with:

0 commit comments

Comments
 (0)