Skip to content

Commit

Permalink
should work after fix with forge
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrommaiaa committed May 19, 2022
1 parent ede5300 commit fe71561
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci
name: CI

on:
push:
Expand All @@ -25,7 +25,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
submodules: recursive

Expand All @@ -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 }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ xcuserdata/
/cache/
flattened.sol

# Python
/env/

# ============================================================================ #
# Application
# ============================================================================ #
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe71561

Please sign in to comment.