Skip to content

Polish script

Polish script #214

Workflow file for this run

name: CI
on: push
env:
SCARB_VERSION: 2.3.1
FOUNDRY_VERSION: 0.10.1
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v3
- name: Install Scarb
run: curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | bash -s -- -v $SCARB_VERSION
- name: Install SnFoundryUp
run: curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | sh
- name: Install SnFoundry
run: snfoundryup -v $FOUNDRY_VERSION
- name: Check formatting
run: scarb fmt --check
- name: Build
run: scarb build
- name: Test
run: snforge test