Skip to content

Commit

Permalink
chore: upgrade workflow to use devcon:1.1.4-bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
zouguangxian committed Oct 9, 2024
1 parent 7bdc8e5 commit 315494b
Showing 1 changed file with 27 additions and 11 deletions.
38 changes: 27 additions & 11 deletions .github/workflows/lint-build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,47 @@ name: Lint, Build & Test

on:
push:
branches: [$default-branch, main]
branches: [$default-branch, main, chore/update_executor_reference_implementation]
pull_request:
branches: [$default-branch, main]
branches: [$default-branch, main, chore/update_executor_reference_implementation]

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

0 comments on commit 315494b

Please sign in to comment.