bump starknet version, and switch to new kss snos #106
Workflow file for this run
This file contains hidden or 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
| on: | |
| push: | |
| branches: | |
| - "main" | |
| pull_request: | |
| name: "linting" | |
| jobs: | |
| format: | |
| name: "Check code format" | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - name: "Checkout source code" | |
| uses: "actions/checkout@v3" | |
| - name: "Use Rust cache" | |
| uses: "Swatinem/rust-cache@v2" | |
| with: | |
| cache-on-failure: true | |
| - name: "Install prettier" | |
| run: | | |
| yarn global add prettier | |
| - name: "Lint check" | |
| run: | | |
| bash scripts/lint.sh | |
| clippy: | |
| name: "Run Clippy" | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - name: "Checkout source code" | |
| uses: "actions/checkout@v3" | |
| - name: "Setup toolchain" | |
| uses: "actions-rs/toolchain@v1" | |
| with: | |
| toolchain: "nightly" | |
| components: "clippy" | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| cache-on-failure: true | |
| - name: "Setup Python" | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.9" | |
| cache: "pip" | |
| - name: "Install dependencies" | |
| run: | | |
| pip install -r requirements.txt | |
| - name: "Run Clippy" | |
| run: | | |
| bash scripts/clippy.sh |