Skip to content

feat: add token allow list smart contract with tests (#2) #21

feat: add token allow list smart contract with tests (#2)

feat: add token allow list smart contract with tests (#2) #21

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- 'main'
jobs:
uv-example:
name: python
runs-on: ubuntu-latest
env:
UV_SYSTEM_PYTHON: 1
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: '0.5.26'
- name: 'Set up Python'
uses: actions/setup-python@v5
with:
python-version-file: 'pyproject.toml'
- name: Install project and dependencies
run: uv sync --all-extras --dev
- uses: ApeWorX/github-action@v3
with:
python-version: '3.11'
ape-version-pin: '0.8.25'
ape-plugins-list: 'solidity==0.8.5 alchemy==0.8.7 etherscan==0.8.4 foundry==0.8.7'
- name: Install contract dependencies
run: ape pm install gh:Vectorized/solady --name solady --ref v0.1.3
- name: Compile contracts
run: ape compile --force
- name: Run tests
run: ape test -s