Skip to content

Commit

Permalink
Merge pull request #23 from keep-starknet-strange/dev/cleanup
Browse files Browse the repository at this point in the history
dev: build script, remove async for now, remove build artifacts
  • Loading branch information
drspacemn authored Sep 27, 2023
2 parents f3db00e + 262172f commit 587b561
Show file tree
Hide file tree
Showing 19 changed files with 105,623 additions and 3,045 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @drspacemn @LucasLvy @EvolveArt
45 changes: 45 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: check

on:
push:
branches:
- main
pull_request:

jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup show
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check
- run: cargo install taplo-cli --locked
- run: taplo fmt --no-auto-config --option reorder_keys=true Cargo.toml --check

clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup show
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --all -- -D warnings

tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup show
- uses: Swatinem/rust-cache@v2
- run: pip install cairo-lang; cargo test

udeps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo install cargo-udeps --locked
- run: cargo +nightly udeps --all-targets
31 changes: 0 additions & 31 deletions .github/workflows/ci.yml

This file was deleted.

9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
/target
build/test.zip
# Rust artifacts
Cargo.lock
target/

# Snos artifacts
build/*
!build/os_*.json
Loading

0 comments on commit 587b561

Please sign in to comment.