Skip to content

fix: add a derive for generate contract #182

fix: add a derive for generate contract

fix: add a derive for generate contract #182

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: CI
jobs:
unix-test:
name: Unix tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
toolchain: [stable]
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: Compile contracts
uses: software-mansion/setup-scarb@v1
with:
scarb-version: "2.5.4"
- run: |
cd ./contracts && make generate_artifacts
- name: Setup toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
profile: minimal
override: true
- name: Run cargo tests
uses: nick-fields/retry@v2
with:
timeout_minutes: 20
max_attempts: 3
retry_wait_seconds: 30
command: cargo test --workspace --all-features