Skip to content

Commit b75ae80

Browse files
author
Owen
committed
update actions
1 parent c5f3a28 commit b75ae80

File tree

2 files changed

+6
-26
lines changed

2 files changed

+6
-26
lines changed

.github/workflows/ci.yml

+1-21
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,4 @@ jobs:
2020
version: nightly
2121

2222
- 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

Makefile

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ npm:; yarn install
1212

1313
# install solc version
1414
# example to install other versions: `make solc 0_8_2`
15-
SOLC_VERSION := 0_8_10
15+
SOLC_VERSION := 0_8_13
1616
solc:; nix-env -f https://github.com/dapphub/dapptools/archive/master.tar.gz -iA solc-static-versions.solc_${SOLC_VERSION}
1717

1818
# 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
2222
clean :; forge clean
2323
lint :; yarn run lint
2424
estimate :; ./scripts/estimate-gas.sh ${contract}
2525
size :; ./scripts/contract-size.sh ${contract}
26-
snapshot :; forge snapshot --optimize --optimizer-runs 1000000
26+
snapshot :; forge snapshot --optimize
2727
test-deploy :; ./scripts/test-deploy.sh
2828

2929
# Deployment helpers

0 commit comments

Comments
 (0)