Skip to content

Commit

Permalink
ci: update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
smol-ninja committed Jan 1, 2024
1 parent a774400 commit 0b1d4e4
Showing 1 changed file with 8 additions and 20 deletions.
28 changes: 8 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,14 @@ jobs:
- name: "Install Foundry"
uses: "foundry-rs/foundry-toolchain@v1"

- name: "Install Node.js"
uses: "actions/setup-node@v3"
with:
cache: "yarn"
node-version: "lts/*"

- name: "Install Yarn"
run: "npm install -g yarn"
- name: "Install Bun"
uses: "oven-sh/setup-bun@v1"

- name: "Install the Node.js dependencies"
run: "yarn install"
run: "bun install"

- name: "Lint the contracts"
run: "yarn lint"
- name: "Lint the code"
run: "bun run lint"

- name: "Add lint summary"
run: |
Expand All @@ -54,17 +48,11 @@ jobs:
- name: "Install Foundry"
uses: "foundry-rs/foundry-toolchain@v1"

- name: "Install Node.js"
uses: "actions/setup-node@v3"
with:
cache: "yarn"
node-version: "lts/*"

- name: "Install Yarn"
run: "npm install -g yarn"
- name: "Install Bun"
uses: "oven-sh/setup-bun@v1"

- name: "Install the Node.js dependencies"
run: "yarn install"
run: "bun install"

- name: "Show the Foundry config"
run: "forge config"
Expand Down

0 comments on commit 0b1d4e4

Please sign in to comment.