feat: Implement ERC721CommonUpgradeable contract #29
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
name: test | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
- 'feature/*' | |
- 'features/*' | |
pull_request: | |
branches: | |
- main | |
- dev | |
- 'feature/*' | |
- 'features/*' | |
env: | |
FOUNDRY_PROFILE: ci | |
jobs: | |
check: | |
strategy: | |
fail-fast: true | |
name: Foundry project | |
runs-on: [self-hosted, dockerize] | |
steps: | |
- id: 'gh-app' | |
name: 'Get Token' | |
uses: 'tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a' #v1.7.0 | |
with: | |
app_id: ${{ secrets.GH_APP_ID }} | |
private_key: ${{ secrets.GH_PRIVATE_KEY }} | |
- uses: actions/[email protected] | |
with: | |
submodules: recursive | |
token: ${{ steps.gh-app.outputs.token }} | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Run Forge build | |
run: | | |
forge --version | |
forge build --sizes | |
id: build | |
- name: Run Forge tests | |
run: | | |
forge test -vvv | |
id: test |