Skip to content

⬆️ upgrade dependencies #13

⬆️ upgrade dependencies

⬆️ upgrade dependencies #13

name: Quality checks
env:
FOUNDRY_PROFILE: "ci"
# This CI workflow is responsible of running the linter and building the contracts.
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.QDQD_PAT }}
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install the Node.js dependencies
run: npm ci
- name: Run the linter and the formatter in check mode
run: make quality
- name: Add lint summary
run: |
echo "## Lint result" >> $GITHUB_STEP_SUMMARY
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.QDQD_PAT }}
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Compile the contracts and print their size
run: make compile-s
- name: Add compile summary
run: |
echo "## Build result" >> $GITHUB_STEP_SUMMARY
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY