Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Bump cachix/cachix-action from 12 to 14 #282

Bump cachix/cachix-action from 12 to 14

Bump cachix/cachix-action from 12 to 14 #282

Workflow file for this run

name: Slither
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
slither:
runs-on: ubuntu-latest
steps:
- uses: styfle/cancel-workflow-action@0.12.0
name: Cancel Outdated Builds
with:
access_token: ${{ github.token }}
- name: Install Nix
uses: cachix/install-nix-action@v24
- uses: cachix/cachix-action@v14
with:
name: espresso-systems-private
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- uses: actions/checkout@v4
name: Checkout Repository
- name: Work around git issue after git CVE-2022-24765 fix.
run: git config --global --add safe.directory "$PWD"
- name: Run slither
run: nix-shell --run "slither ./contracts --sarif slither.sarif"
continue-on-error: true
- name: Upload slither SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: slither.sarif