diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml deleted file mode 100644 index 1087837e..00000000 --- a/.github/workflows/audit.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: Soteria Audit - -on: - push: - branches: - - master - pull_request: - branches: - - master - -env: - CARGO_TERM_COLOR: always - SOLANA_VERSION: '1.17.12' - -jobs: - build: - name: Soteria - runs-on: ubuntu-latest - steps: - - name: Check-out repo - uses: actions/checkout@v2 - - - name: Cache Solana binaries - uses: actions/cache@v2 - id: solana-cache - with: - path: | - ~/.cache/solana - ~/.local/share/solana - ~/.rustup - key: solana-${{ env.SOLANA_VERSION }} - - - name: Cache build dependencies - uses: Swatinem/rust-cache@v1 - with: - target-dir: .coderrect/build - - - name: Install Solana - if: steps.solana-cache.outputs.cache-hit != 'true' - run: | - echo Installing Solana v${{ env.SOLANA_VERSION }}...🧬 - sh -c "$(curl -sSfL https://release.solana.com/v${{ env.SOLANA_VERSION }}/install)" - echo "$HOME/.local/share/solana/install/active_release/bin" >> $GITHUB_PATH - export PATH="/home/runner/.local/share/solana/install/active_release/bin:$PATH" - echo Installing bpf toolchain... - (cd /home/runner/.local/share/solana/install/active_release/bin/sdk/bpf/scripts; ./install.sh) - shell: bash - - - name: Install Soteria - run: | - echo Installing Soteria...🔬 - sh -c "$(curl -k https://supercompiler.xyz/install)" - export PATH=$PWD/soteria-linux-develop/bin/:$PATH - echo "$PWD/soteria-linux-develop/bin" >> $GITHUB_PATH - shell: bash - - - name: Run Soteria 🚀 # fails CI job if issues are found - run: soteria -analyzeAll . - shell: bash