generated from zeroknots/femplate
-
Notifications
You must be signed in to change notification settings - Fork 11
45 lines (40 loc) · 1.12 KB
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
on:
workflow_dispatch:
push:
branches:
- "main"
pull_request:
jobs:
lint:
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-lint.yaml@main"
build:
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-build.yaml@main"
test-unit:
needs: ["lint", "build"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-test.yaml@main"
with:
foundry-fuzz-runs: 5000
foundry-profile: "test"
match-path: "test/**/*.sol"
name: "Unit tests"
coverage:
needs: ["build"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-coverage.yaml@main"
with:
match-path: "test/**/*.sol"
codecov-slug: zeroknots/registry
release-artifacts:
needs: ["build"]
uses: "rhinestonewtf/reusable-workflows/.github/workflows/forge-release.yaml@main"
strategy:
matrix:
contract-name:
[
"Registry",
"RSResolver",
"RSSchemaValidator",
"TransparentUpgradeableProxy",
]
with:
contract-name: ${{ matrix.contract-name }}
store-artifacts: true