Skip to content

build: rename build job #11

build: rename build job

build: rename build job #11

Workflow file for this run

name: ci
on: push
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: ci
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
- uses: actions/setup-node@v3
with:
node-version: 20
cache: "yarn"
- 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: Compile
run: yarn build --sizes
id: build
- name: Run tests
run: yarn test
id: test
- name: Coveralls
uses: coverallsapp/github-action@v2