Skip to content

Add web3 utils class #2

Add web3 utils class

Add web3 utils class #2

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
env:
FOUNDRY_PROFILE: ci
jobs:
foundry:
name: Cryptozombies Foundry project
defaults:
run:
working-directory: contracts
strategy:
fail-fast: true
runs-on: ubuntu-latest
steps:
- 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
id: build
- name: Run Forge tests
run: |
forge test -vvv
id: test
dapp:
name: Vue.js dapp
runs-on: ubuntu-latest
defaults:
run:
working-directory: dapp
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
- uses: pnpm/action-setup@v2
with:

Check failure on line 50 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 50
version: latest
- name: Installing project dependencies
run: pnpm install
- name: Build and tests
run: |
pnpm run build
pnpm run coverage
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}