Update option adding to add long and short at once #121
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: CI | |
on: | |
push: | |
paths: | |
- '**.cairo' | |
- '.github/' | |
env: | |
LINK: https://github.com/software-mansion/scarb/releases/download/v0.6.2/scarb-v0.6.2-x86_64-unknown-linux-gnu.tar.gz | |
NAME: scarb-v0.6.2-x86_64-unknown-linux-gnu | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout (GitHub) | |
uses: actions/checkout@v3 | |
- name: Download binaries | |
run: curl -L -o $NAME.tar.gz $LINK | |
- name: Prepare binaries | |
run: tar -xvf $NAME.tar.gz | |
- name: Make binaries available | |
run: echo "./$NAME/bin" >> $GITHUB_PATH | |
- name: Check formatting | |
run: scarb fmt --check | |
- name: Build with scarb | |
run: scarb build |