feat: rewrite airdrop contract to include vesting #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- "master" | |
pull_request: | |
name: "Test" | |
jobs: | |
test-l1: | |
name: "Test L1 contracts" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout source code" | |
uses: "actions/checkout@v3" | |
with: | |
submodules: "recursive" | |
- name: "Install foundry nightly" | |
uses: "foundry-rs/foundry-toolchain@v1" | |
with: | |
version: "nightly" | |
- name: "Run foundry tests" | |
run: | | |
forge test | |
test-airdrop: | |
name: "Test airdrop contracts" | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: "Checkout source code" | |
uses: "actions/checkout@v3" | |
with: | |
submodules: "recursive" | |
- name: "Run Cairo tests" | |
run: | | |
./scripts/test_airdrop_with_docker.sh |