Open sambarnes opened 1 year ago
:v: started studying the repo and saw that mev-share-uni-arb was not getting tested in ci
mev-share-uni-arb
this should prevent that step in the future
tested locally with act:
act --container-architecture linux/amd64 --workflows .github/workflows/contracts.yml
example of what itll look like in ui (on this tmp pr)
:v: started studying the repo and saw that
mev-share-uni-arb
was not getting tested in cithis should prevent that step in the future
tested locally with act:
act --container-architecture linux/amd64 --workflows .github/workflows/contracts.yml
Local output
``` [Solidity/Strategy list] π Start image=ghcr.io/catthehacker/ubuntu:act-latest [Solidity/Strategy list] π³ docker pull image=ghcr.io/catthehacker/ubuntu:act-latest platform=linux/amd64 username= forcePull=false [Solidity/Strategy list] π³ docker create image=ghcr.io/catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Solidity/Strategy list] π³ docker run image=ghcr.io/catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Solidity/Strategy list] π³ docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir= [Solidity/Strategy list] π³ docker cp src=/Users/sam/dev/artemis/. dst=/Users/sam/dev/artemis [Solidity/Strategy list] π³ docker exec cmd=[mkdir -p /Users/sam/dev/artemis] user= workdir= [Solidity/Strategy list] β Run actions/checkout@v2 [Solidity/Strategy list] β Success - actions/checkout@v2 [Solidity/Strategy list] β Run echo "::set-output name=matrix::$(ls ./crates/strategies | jq -R -s -c 'split("\n")[:-1]')" [Solidity/Strategy list] π³ docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/set-matrix] user= workdir= [Solidity/Strategy list] β ::set-output:: matrix=["mev-share-uni-arb","opensea-sudo-arb"] [Solidity/Strategy list] β Success - echo "::set-output name=matrix::$(ls ./crates/strategies | jq -R -s -c 'split("\n")[:-1]')" [Solidity/tests-2 ] π§ͺ Matrix: map[target:opensea-sudo-arb] [Solidity/tests-2 ] π Start image=ghcr.io/catthehacker/ubuntu:act-latest [Solidity/tests-1 ] π§ͺ Matrix: map[target:mev-share-uni-arb] [Solidity/tests-1 ] π Start image=ghcr.io/catthehacker/ubuntu:act-latest [Solidity/tests-1 ] π³ docker pull image=ghcr.io/catthehacker/ubuntu:act-latest platform=linux/amd64 username= forcePull=false [Solidity/tests-2 ] π³ docker pull image=ghcr.io/catthehacker/ubuntu:act-latest platform=linux/amd64 username= forcePull=false [Solidity/tests-2 ] π³ docker create image=ghcr.io/catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Solidity/tests-1 ] π³ docker create image=ghcr.io/catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Solidity/tests-2 ] π³ docker run image=ghcr.io/catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Solidity/tests-1 ] π³ docker run image=ghcr.io/catthehacker/ubuntu:act-latest platform=linux/amd64 entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[] [Solidity/tests-2 ] π³ docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir= [Solidity/tests-1 ] π³ docker exec cmd=[mkdir -m 0777 -p /var/run/act] user=root workdir= [Solidity/tests-2 ] π³ docker cp src=/Users/sam/dev/artemis/. dst=/Users/sam/dev/artemis [Solidity/tests-2 ] π³ docker exec cmd=[mkdir -p /Users/sam/dev/artemis] user= workdir= [Solidity/tests-1 ] π³ docker cp src=/Users/sam/dev/artemis/. dst=/Users/sam/dev/artemis [Solidity/tests-1 ] π³ docker exec cmd=[mkdir -p /Users/sam/dev/artemis] user= workdir= [Solidity/tests-2 ] β Run actions/checkout@v2 [Solidity/tests-2 ] β Success - actions/checkout@v2 [Solidity/tests-1 ] β Run actions/checkout@v2 [Solidity/tests-1 ] β Success - actions/checkout@v2 [Solidity/tests-2 ] β Run Install Foundry [Solidity/tests-2 ] β git clone 'https://github.com/onbjerg/foundry-toolchain' # ref=v1 [Solidity/tests-1 ] β Run Install Foundry [Solidity/tests-1 ] β git clone 'https://github.com/onbjerg/foundry-toolchain' # ref=v1 [Solidity/tests-2 ] π³ docker cp src=/Users/sam/.cache/act/onbjerg-foundry-toolchain@v1/ dst=/var/run/act/actions/onbjerg-foundry-toolchain@v1/ [Solidity/tests-2 ] π³ docker exec cmd=[mkdir -p /var/run/act/actions/onbjerg-foundry-toolchain@v1/] user= workdir= [Solidity/tests-1 ] π³ docker cp src=/Users/sam/.cache/act/onbjerg-foundry-toolchain@v1/ dst=/var/run/act/actions/onbjerg-foundry-toolchain@v1/ [Solidity/tests-1 ] π³ docker exec cmd=[mkdir -p /var/run/act/actions/onbjerg-foundry-toolchain@v1/] user= workdir= [Solidity/tests-2 ] π³ docker exec cmd=[node /var/run/act/actions/onbjerg-foundry-toolchain@v1/dist/index.js] user= workdir= [Solidity/tests-1 ] π³ docker exec cmd=[node /var/run/act/actions/onbjerg-foundry-toolchain@v1/dist/index.js] user= workdir= | Downloading Foundry 'nightly' from: https://github.com/foundry-rs/foundry/releases/download/nightly/foundry_nightly_linux_amd64.tar.gz [Solidity/tests-2 ] π¬ ::debug::Downloading https://github.com/foundry-rs/foundry/releases/download/nightly/foundry_nightly_linux_amd64.tar.gz [Solidity/tests-2 ] π¬ ::debug::Destination /tmp/d4fabce3-ee14-419d-99ff-8009e30a83eb | Downloading Foundry 'nightly' from: https://github.com/foundry-rs/foundry/releases/download/nightly/foundry_nightly_linux_amd64.tar.gz [Solidity/tests-1 ] π¬ ::debug::Downloading https://github.com/foundry-rs/foundry/releases/download/nightly/foundry_nightly_linux_amd64.tar.gz [Solidity/tests-1 ] π¬ ::debug::Destination /tmp/8040b3de-742f-4e6a-9f02-eefe023ed7fe [Solidity/tests-1 ] π¬ ::debug::download complete [Solidity/tests-1 ] π¬ ::debug::Extracting /tmp/8040b3de-742f-4e6a-9f02-eefe023ed7fe [Solidity/tests-1 ] π¬ ::debug::Checking tar --version [Solidity/tests-1 ] π¬ ::debug::tar (GNU tar) 1.34%0ACopyright (C) 2021 Free Software Foundation, Inc.%0ALicense GPLv3+: GNU GPL version 3 or later