Update OpenZeppelin Contracts to 5.0 #971
Workflow file for this run
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: [master] | |
pull_request: {} | |
jobs: | |
build: | |
strategy: | |
matrix: | |
package: | |
- core | |
- core-cairo | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
cache: 'yarn' | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
- name: Install dependencies | |
run: yarn install | |
- name: Compile TypeScript | |
run: yarn tsc | |
working-directory: packages/${{matrix.package}} | |
- name: Check Svelte | |
run: yarn svelte-check | |
working-directory: packages/ui | |
- name: Run tests | |
run: yarn test | |
working-directory: packages/${{matrix.package}} |