diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37546bb..50282b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: ci +name: CI on: push: @@ -25,7 +25,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: submodules: recursive @@ -42,12 +42,19 @@ jobs: - name: Run lint check run: make lint - + # TODO: implement repo secrets to we can do mainnet forks for integration tests and other parameter configuration - name: Run tests run: forge test - name: Run Slither uses: crytic/slither-action@main + id: slither + continue-on-error: true + with: + sarif: results.sarif + + - name: Upload SARIF file + uses: github/codeql-action/upload-sarif@v2 with: - src: "src/" + sarif_file: ${{ steps.slither.outputs.sarif }} diff --git a/.gitignore b/.gitignore index acc6710..6f0b406 100644 --- a/.gitignore +++ b/.gitignore @@ -68,6 +68,9 @@ xcuserdata/ /cache/ flattened.sol +# Python +/env/ + # ============================================================================ # # Application # ============================================================================ # diff --git a/README.md b/README.md index 5f9a643..0640264 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ WORK IN PROGRESS ``` +![Github Actions](https://github.com/Rari-Capital/fuse-v1/workflows/CI/badge.svg) + ## Goal - Port Fuse V1 to a modern Foundry-based development stack