-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from Layr-Labs/epociask--feat-fork-diff
feat: fork diff && test fixes
- Loading branch information
Showing
37 changed files
with
635 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: Build, publish, & host forkdiff github-pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- eigenda | ||
|
||
jobs: | ||
build: | ||
concurrency: ci-${{ github.ref }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 1000 # make sure to fetch the old commit we diff against | ||
|
||
- name: Build forkdiff | ||
uses: 'docker://protolambda/forkdiff:0.1.0' | ||
with: | ||
args: -repo=/github/workspace -fork=/github/workspace/fork.yaml -out=/github/workspace/index.html | ||
|
||
- name: Setup Pages | ||
uses: actions/configure-pages@v5 | ||
|
||
- name: Build with Jekyll | ||
uses: actions/jekyll-build-pages@v1 | ||
with: | ||
source: ./ | ||
destination: ./_site | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
|
||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
name: Slither Analysis | ||
# NOTE: Slither was outputting results irrespective of upstream. Currently | ||
# disabling and will circle back in the future. | ||
# name: Slither Analysis | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
# on: | ||
# workflow_dispatch: | ||
# pull_request: | ||
|
||
jobs: | ||
analyze: | ||
runs-on: linux-2xl | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# jobs: | ||
# analyze: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v4 | ||
|
||
- name: Run Slither | ||
uses: crytic/slither-action@v0.4.0 | ||
id: slither | ||
with: | ||
sarif: results.sarif | ||
fail-on: medium | ||
slither-args: --skip-assembly | ||
# - name: Run Slither | ||
# uses: crytic/slither-action@v0.4.0 | ||
# id: slither | ||
# with: | ||
# sarif: results.sarif | ||
# fail-on: medium | ||
# slither-args: --skip-assembly | ||
|
||
- name: Upload SARIF file | ||
if: always() | ||
uses: github/codeql-action/upload-sarif@v3 | ||
with: | ||
sarif_file: ${{ steps.slither.outputs.sarif }} | ||
# - name: Upload SARIF file | ||
# if: always() | ||
# uses: github/codeql-action/upload-sarif@v3 | ||
# with: | ||
# sarif_file: ${{ steps.slither.outputs.sarif }} |
Oops, something went wrong.