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

Bump actions/upload-artifact from 3 to 4 #285

Bump actions/upload-artifact from 3 to 4

Bump actions/upload-artifact from 3 to 4 #285

Workflow file for this run

name: Slither
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
slither:
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
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