Skip to content

chore: switch to solc 0.8.20 to be in sync with other repo #4

chore: switch to solc 0.8.20 to be in sync with other repo

chore: switch to solc 0.8.20 to be in sync with other repo #4

Workflow file for this run

name: Tests
on: push
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Tests
runs-on: ubuntu-latest
# https://docs.github.com/en/actions/reference/authentication-in-a-workflow
permissions:
id-token: write
packages: read
contents: read
security-events: write
container:
image: ghcr.io/nayms/contracts-builder:latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install solc
run: svm install 0.8.20 && svm use 0.8.20
- name: Install bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun i
- name: Compile
run: bun compile --sizes
id: build
- name: Run tests
run: bun test
id: test