File tree 2 files changed +6
-26
lines changed
2 files changed +6
-26
lines changed Original file line number Diff line number Diff line change 20
20
version : nightly
21
21
22
22
- name : Run tests
23
- run : make test
24
-
25
- deploy :
26
- runs-on : ubuntu-latest
27
-
28
- steps :
29
- - uses : actions/checkout@v2
30
- - uses : actions/setup-node@v2
31
- - uses : cachix/install-nix-action@v13
32
- - uses : cachix/cachix-action@v10
33
- with :
34
- name : dapp
35
-
36
- - name : Install dependencies
37
- run : nix-shell --run 'dapp update'
38
-
39
- - name : Build the contracts
40
- run : nix-shell --run 'dapp build'
41
-
42
- - name : Deploy and run checks
43
- run : nix-shell --run './scripts/test-deploy.sh'
23
+ run : make test
Original file line number Diff line number Diff line change @@ -12,18 +12,18 @@ npm:; yarn install
12
12
13
13
# install solc version
14
14
# example to install other versions: `make solc 0_8_2`
15
- SOLC_VERSION := 0_8_10
15
+ SOLC_VERSION := 0_8_13
16
16
solc :; nix-env -f https://github.com/dapphub/dapptools/archive/master.tar.gz -iA solc-static-versions.solc_${SOLC_VERSION}
17
17
18
18
# Build & test
19
- build :; forge build --optimize --optimize-runs 1000000
20
- test :; forge test --optimize --optimize-runs 1000000 # --ffi # enable if you need the `ffi` cheat code on HEVM
21
- fuzz :; forge test -v --optimize --optimize-runs 1000000
19
+ build :; forge build --optimize
20
+ test :; forge test --optimize
21
+ fuzz :; forge test -v --optimize
22
22
clean :; forge clean
23
23
lint :; yarn run lint
24
24
estimate :; ./scripts/estimate-gas.sh ${contract}
25
25
size :; ./scripts/contract-size.sh ${contract}
26
- snapshot :; forge snapshot --optimize --optimizer-runs 1000000
26
+ snapshot :; forge snapshot --optimize
27
27
test-deploy :; ./scripts/test-deploy.sh
28
28
29
29
# Deployment helpers
You can’t perform that action at this time.
0 commit comments