Skip to content

Commit

Permalink
Comment out audit workflow because soteria is on old bpf
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgarfield committed Feb 7, 2024
1 parent d76c657 commit 793d14f
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/code-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,36 +24,36 @@ jobs:
- name: Build
run: cargo build --locked

audit:
needs: build
name: Audit ${{ matrix.node.path }}
runs-on: ubuntu-latest
container: backpackapp/build:v0.29.0
strategy:
fail-fast: false
matrix:
node:
- cmd: export PATH=$PWD/soteria-linux-develop/bin:$PATH && cd programs/network && soteria -analyzeAll .
path: programs/network
- cmd: export PATH=$PWD/soteria-linux-develop/bin:$PATH && cd programs/thread && soteria -analyzeAll .
path: programs/thread
- cmd: export PATH=$PWD/soteria-linux-develop/bin:$PATH && cd programs/webhook && soteria -analyzeAll .
path: programs/webhook
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install BPF toolchain
run: |
rustup default stable
cd /root/.local/share/solana/install/active_release/bin/sdk/bpf
rm -rf dependencies/*
./scripts/install.sh
rustup default bpf
cd $GITHUB_WORKSPACE
cargo update
- name: Install Soteria auditor
run : |
sh -c "$(curl -k https://supercompiler.xyz/install)"
export PATH=$PWD/soteria-linux-develop/bin:$PATH
- name: Run soteria on ${{ matrix.node.path }}
run: ${{ matrix.node.cmd }}
# audit:
# needs: build
# name: Audit ${{ matrix.node.path }}
# runs-on: ubuntu-latest
# container: backpackapp/build:v0.29.0
# strategy:
# fail-fast: false
# matrix:
# node:
# - cmd: export PATH=$PWD/soteria-linux-develop/bin:$PATH && cd programs/network && soteria -analyzeAll .
# path: programs/network
# - cmd: export PATH=$PWD/soteria-linux-develop/bin:$PATH && cd programs/thread && soteria -analyzeAll .
# path: programs/thread
# - cmd: export PATH=$PWD/soteria-linux-develop/bin:$PATH && cd programs/webhook && soteria -analyzeAll .
# path: programs/webhook
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# - name: Install BPF toolchain
# run: |
# rustup default stable
# cd /root/.local/share/solana/install/active_release/bin/sdk/bpf
# rm -rf dependencies/*
# ./scripts/install.sh
# rustup default bpf
# cd $GITHUB_WORKSPACE
# cargo update
# - name: Install Soteria auditor
# run : |
# sh -c "$(curl -k https://supercompiler.xyz/install)"
# export PATH=$PWD/soteria-linux-develop/bin:$PATH
# - name: Run soteria on ${{ matrix.node.path }}
# run: ${{ matrix.node.cmd }}

0 comments on commit 793d14f

Please sign in to comment.