Skip to content

Commit

Permalink
Merge pull request #7 from The-Poolz/if-fix
Browse files Browse the repository at this point in the history
add if statement to gas-tests
  • Loading branch information
YouStillAlive authored May 29, 2024
2 parents d68ebbd + bfdfe51 commit ed8818a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gas-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
fi
- name: Comment on pull request
if: env.exists == 'true'
if: github.event_name == 'pull_request' && env.exists == 'true'
uses: thollander/actions-comment-pull-request@v2
with:
filePath: gasReport.md
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ on:

jobs:
setup:
uses: ./.github/workflows/setup.yml
uses: The-Poolz/solidity-workflows/.github/workflows/setup.yml
```
### 3. Coverage Test
Expand All @@ -86,11 +86,11 @@ on:
jobs:
setup:
uses: ./.github/workflows/setup.yml
uses: The-Poolz/solidity-workflows/.github/workflows/setup.yml
coverage-test:
needs: setup
uses: ./.github/workflows/coverage-test.yml
uses: The-Poolz/solidity-workflows/.github/workflows/coverage-test.yml
```

### 4. Gas Test
Expand All @@ -115,11 +115,11 @@ on:
jobs:
setup:
uses: ./.github/workflows/setup.yml
uses: .The-Poolz/solidity-workflows/.github/workflows/setup.yml
test:
needs: setup
uses: ./.github/workflows/gas-test.yml
uses: The-Poolz/solidity-workflows/.github/workflows/gas-test.yml
```

### 5. Slither Test
Expand All @@ -146,11 +146,11 @@ on:
jobs:
setup:
uses: ./.github/workflows/setup.yml
uses: The-Poolz/solidity-workflows/.github/workflows/setup.yml
slither:
needs: setup
uses: ./.github/workflows/slither-test.yml
uses: The-Poolz/solidity-workflows/.github/workflows/slither-test.yml
```

### 6. Publish on Release
Expand All @@ -176,7 +176,7 @@ on:
jobs:
release:
uses: ./.github/workflows/release.yml
uses: The-Poolz/solidity-workflows/.github/workflows/release.yml
```

## License
Expand Down

0 comments on commit ed8818a

Please sign in to comment.