Skip to content

Commit

Permalink
Merge pull request #219 from Axis-Fi/ci-fix
Browse files Browse the repository at this point in the history
CI Fix
  • Loading branch information
Oighty authored Jul 8, 2024
2 parents e0e8539 + 084617e commit 27ed43d
Show file tree
Hide file tree
Showing 4 changed files with 343 additions and 266 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ jobs:
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/checkout@v4

- uses: actions/setup-node@v2
- name: Install Node.js
uses: actions/setup-node@v2

- uses: pnpm/action-setup@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 8

- name: Install Node dependencies
run: pnpm install
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

# From: https://www.uffizzi.com/blog/optimizing-rust-builds-for-faster-github-actions-pipelines
- name: Install Rust
Expand All @@ -51,8 +51,11 @@ jobs:
- name: Build local ecies-cli for use with testing
run: cd crates/ecies-cli && cargo build && cd ../..

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Repo Install Script
run: |
chmod +x ./install.sh
./install.sh
shell: bash

- name: Run lint check
run: pnpm run lint:check
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"solhint:all": "solhint --fix --config ./.solhint.json 'src/**/*.sol' 'test/**/*.sol' 'script/**/*.sol'",
"solhint:check": "solhint --config ./.solhint.json 'src/**/*.sol'",
"solhint": "solhint --fix --config ./.solhint.json 'src/**/*.sol'",
"test": "forge test --nmt optimal -vvv"
"test": "forge test --nmt largeNumberOf -vvv"
},
"keywords": [],
"author": "",
Expand Down
Loading

0 comments on commit 27ed43d

Please sign in to comment.