Skip to content

Commit

Permalink
🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLucqs committed Aug 7, 2024
0 parents commit 40b294a
Show file tree
Hide file tree
Showing 22 changed files with 3,601 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"projectName": "cairo-lint",
"projectOwner": "keep-starknet-strange",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"imageSize": 100,
"commit": true,
"commitConvention": "angular",
"contributors": [
{
"login": "0xLucqs",
"name": "0xLucqs",
"avatar_url": "https://avatars.githubusercontent.com/u/70894690?v=4",
"profile": "https://github.com/0xLucqs",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
"linkToUsage": false
}
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on: [push, pull_request]

name: Test

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Get corelib
run: git clone -b lucas/multiline_diag https://github.com/0xLucqs/cairo

- name: Install toolchain
run: rustup show

- uses: Swatinem/rust-cache@v2

- name: Run cargo clippy
run: cargo clippy -- -D warnings

- name: Run cargo test
run: CORELIB_PATH="$(pwd)/cairo/corelib/src" cargo test

- name: Run cargo fmt
run: rustup toolchain install nightly && rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt && cargo +nightly fmt -- --check
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
target
.DS_Store
Loading

0 comments on commit 40b294a

Please sign in to comment.