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 1e95858
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 39 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/bootstrap.yml

This file was deleted.

47 changes: 43 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,25 @@ 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 just
run: |
wget -q https://github.com/casey/just/releases/download/1.24.0/just-1.24.0-x86_64-unknown-linux-musl.tar.gz -O /tmp/just.tar.gz
sudo tar xf /tmp/just.tar.gz --wildcards "just" --directory=/usr/local/bin/
just --version
- name: Install node
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: yarn
cache-dependency-path: "**/yarn.lock"

- name: Install dependencies
run: just deps

- name: Linters check
run: just lint
Expand All @@ -28,8 +45,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: cargo install just

- name: Install dependencies
run: just deps

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

0 comments on commit 1e95858

Please sign in to comment.