Skip to content

feat: add startup logging #24

feat: add startup logging

feat: add startup logging #24

Workflow file for this run

name: Unit Tests
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
merge_group:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
FOUNDRY_PROFILE: ci
jobs:
contracts-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes --root ./contracts
id: build
- name: Run Forge tests
run: |
forge test -vvv --root ./contracts
id: test
go-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '^1.22'
- name: Install dependencies
run: go mod download
- name: Run tests
run: go test ./... -v