Skip to content

Commit

Permalink
Merge branch 'foundry/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
elfedy committed Oct 18, 2024
2 parents b513e39 + f5aa05e commit fc0019a
Show file tree
Hide file tree
Showing 458 changed files with 10,402 additions and 5,724 deletions.
3 changes: 3 additions & 0 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[codespell]
skip = .git,target,testdata,Cargo.toml,Cargo.lock
ignore-words-list = crate,ser,ratatui,Caf,froms,strat
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @danipopes @klkvr @mattsse
* @danipopes @klkvr @mattsse @grandizzy @yash-atreya @zerosnacks
39 changes: 39 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,28 @@ jobs:
shell: bash
run: ./.github/scripts/format.sh --check

codespell:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@v2
with:
skip: "*.json"

clippy:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@clippy
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- run: cargo clippy --workspace --all-targets --all-features
env:
RUSTFLAGS: -Dwarnings

crate-checks:
runs-on: ubuntu-22.04-github-hosted-16core
timeout-minutes: 60
Expand Down Expand Up @@ -127,3 +149,20 @@ jobs:
cd /tmp && curl -L https://raw.githubusercontent.com/matter-labs/foundry-zksync/main/install-foundry-zksync | bash
- name: Verify installation
run: forge --version

ci-success:
runs-on: ubuntu-latest
if: always()
needs:
- doctest
- codespell
- clippy
- rustfmt
- forge-fmt
- crate-checks
timeout-minutes: 30
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.DS_STORE
/target
out/
snapshots/
out.json
.idea
.vscode
Loading

0 comments on commit fc0019a

Please sign in to comment.