Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add access token to ci scripts for private repos fetching in deps #33

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.CI_PAT }}
- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
Expand All @@ -26,6 +27,8 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.CI_PAT }}

dsshap marked this conversation as resolved.
Show resolved Hide resolved
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/Slither.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,18 @@ name: Slither Analysis
# temporarily disabled because of the action bug
on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
analyze-core:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.CI_PAT }}

- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
Expand All @@ -20,14 +23,14 @@ jobs:

- name: Install dependencies
run: forge install

- name: Run Slither core
uses: crytic/[email protected]
continue-on-error: true
id: slither
with:
target: "src/core"
slither-config: "slither.config.json"
target: 'src/core'
slither-config: 'slither.config.json'
solc-version: 0.8.17
sarif: results.sarif
fail-on: none
Expand Down
Loading