Skip to content

Commit

Permalink
build: fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
madlabman committed Feb 29, 2024
1 parent 6b92193 commit 1d5a96c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 39 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/bootstrap.yml

This file was deleted.

41 changes: 37 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,19 @@ jobs:
name: Linters
runs-on: ubuntu-latest
steps:
- name: Bootstrap
uses: ./.github/workflows/bootstrap.yml
- uses: actions/checkout@v3
with:
persist-credentials: false

- name: Install node
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: yarn
cache-dependency-path: "**/yarn.lock"

- name: Install just
run: conda install -c conda-forge just

- name: Linters check
run: just lint
Expand All @@ -28,8 +39,30 @@ jobs:
name: Foundry project
runs-on: ubuntu-latest
steps:
- name: Bootstrap
uses: ./.github/workflows/bootstrap.yml
- uses: actions/checkout@v3
with:
persist-credentials: false

- name: Install node
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: yarn
cache-dependency-path: "**/yarn.lock"

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Foundry version
run: forge --version

- name: Install just
run: conda install -c conda-forge just

- name: Install dependencies
run: just deps

- name: Build
run: just build --sizes
Expand Down

0 comments on commit 1d5a96c

Please sign in to comment.