Skip to content

GH actions config

GH actions config #4

Workflow file for this run

name: CI
on:
push:
branches:
- master
- celo*
pull_request:
branches:
- master
- celo*
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Install foundry
run: |
curl -L https://foundry.paradigm.xyz | sh
~/.config/.foundry/bin/foundryup
- name: Build
run: make all
- name: Run e2e tests
run: PATH="~/.foundry/bin:${PATH}" e2e_test/run_all_tests.sh
- name: Test
run: make test
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.20'
cache: false
- name: Lint
run: make lint