Skip to content

Commit

Permalink
add foundry to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
halo3mic committed May 2, 2024
1 parent fde30aa commit 81205ed
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,21 @@ jobs:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v3
- name: Clone Repository
run: |
git clone https://github.com/halo3mic/erc20-topup.git
cd repo
- name: Install Foundry
run: |
curl -L https://foundry.paradigm.xyz | bash
source $HOME/.bashrc
foundryup
- name: Update
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
run: cargo test --verbose -- --nocapture
- name: Run Clippy
run: cargo clippy

0 comments on commit 81205ed

Please sign in to comment.