Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade workflow to use devcon:1.1.4-bookworm #108

Merged
merged 1 commit into from
Oct 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 25 additions & 9 deletions .github/workflows/lint-build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,43 @@ on:
pull_request:
branches: [$default-branch, main]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name != 'push' }}

jobs:
lint-build-test:
name: Lint, Build & Test
runs-on: ubuntu-latest
container:
image: ghcr.io/layerzero-labs/devcon:1.1.4-bookworm
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
options: --privileged
env:
HOME: /root

steps:
- name: Check out
uses: actions/checkout@v3
- name: Install foundry
run: |
curl -L https://foundry.paradigm.xyz | bash && \
eval "$(sed -n '/foundry/p' ~/.bashrc)" && \
echo $PATH | tee -a $GITHUB_PATH
- name: Install chain tools
- name: Initialize docker services
run: |
foundryup
umount /var/run/docker.sock
/usr/local/share/docker-init.sh

- name: Check out
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
with:
fetch-depth: 0
submodules: recursive

- name: Yarn install
run: |
yarn install --immutable

- name: Build
run: |
yarn build

- name: Test
run: |
yarn test
Expand Down
Loading