Skip to content

Fix: docker compose slash #310

Fix: docker compose slash

Fix: docker compose slash #310

Workflow file for this run

name: Test
on:
push:
branches:
- master
- develop
pull_request:
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://[email protected]/
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Cache dependencies
id: cache
uses: actions/cache@v3
with:
path: ./node_modules
key: modules-${{ hashFiles('package-lock.json') }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci --ignore-scripts
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
forge --version
forge build --sizes
id: forge-build
- name: Run Forge tests
run: |
forge test -vvv
id: forge-test
- name: Run Hardhat tests
run: |
npx hardhat test
id: hardhat-test