Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrigada committed Dec 11, 2024
1 parent 41264b2 commit ee81562
Showing 1 changed file with 12 additions and 17 deletions.
29 changes: 12 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,23 @@ jobs:
submodules: recursive

- name: Install Foundry from Matter Labs
env:
GH_TOKEN: ${{ github.token }}
run: |
# Get latest release info
echo "Getting latest release info..."
DOWNLOAD_URL=$(gh api repos/matter-labs/foundry-zksync/releases/latest | jq -r '.assets[] | select(.name | contains("foundry_nightly_linux_amd64.tar.gz")) | .browser_download_url')
# Create directory and download
# Download directly from Matter Labs CI artifacts
mkdir -p foundry-zksync
echo "Downloading foundry..."
gh release download --repo matter-labs/foundry-zksync --pattern '*linux_amd64.tar.gz' --dir .
cd foundry-zksync
# Download and install foundryup
curl -L https://raw.githubusercontent.com/matter-labs/foundry-zksync/main/foundryup/install > install
chmod +x install
./install
# Extract
echo "Extracting..."
tar -xzf foundry_nightly_linux_amd64.tar.gz -C foundry-zksync
# Add foundry to PATH for this session
export PATH="$HOME/.foundry/bin:$PATH"
# Install
echo "Installing..."
chmod +x foundry-zksync/install
./foundry-zksync/install
# Install specific version
foundryup --version nightly --repo matter-labs/foundry-zksync
# Add to PATH
# Add to PATH for subsequent steps
echo "$HOME/.foundry/bin" >> $GITHUB_PATH
# Display version
Expand Down

0 comments on commit ee81562

Please sign in to comment.