Skip to content

rlp and eip1559

rlp and eip1559 #13

Workflow file for this run

name: Lint build and test
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
lint_build_and_test:
name: Lint build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Extract scarb version
run: |
SCARB_VERSION=$(grep 'scarb-version = ' Scarb.toml | sed 's/scarb-version = "\(.*\)"/\1/')
echo "SCARB_VERSION=$SCARB_VERSION" >> $GITHUB_ENV
- uses: software-mansion/setup-scarb@v1
with:
scarb-version: ${{ env.SCARB_VERSION }}
- name: Cairo lint
run: scarb fmt --check
- name: Cairo build
run: scarb build
- name: Cairo test
run: scarb test