Skip to content

Commit

Permalink
Release 1.0.0 (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyjams authored Oct 7, 2024
2 parents 49bc140 + c94f4dc commit ef4b1cb
Show file tree
Hide file tree
Showing 50 changed files with 20,826 additions and 6 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
on:
push:
branches:
- feature/*
- bugfix/*
- develop
- release/*
- hotfix/*
- main

jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Init
run: npm ci
- name: Run coverage
run: npm run coverage
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: iExecBlockchainComputing/iexec-voucher-contracts
- name: Run static analysis with slither
uses: crytic/[email protected]
id: slither
with:
target: "contracts/"
slither-args: --checklist --markdown-root ${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/
node-version: "20"
fail-on: none # TODO set this to high or other
sarif: results.sarif
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.slither.outputs.sarif }}
20 changes: 18 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
node_modules
.env

# Hardhat files
cache
artifacts
/cache
/artifacts

# TypeChain files
/typechain
/typechain-types

# solidity-coverage files
/coverage
/coverage.json

/deployments/hardhat
/deployments/external-hardhat
/deployments/localhost

/contracts/hardhat-dependency-compiler
build/flatten.sol
7 changes: 7 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env sh

npx lint-staged
npm run doc
# TODO: Move generated solidity docs to a subfolder and only `git add` this
# subfolder to the current commit
git add docs/
Loading

0 comments on commit ef4b1cb

Please sign in to comment.