chore(deps): bump the all group across 1 directory with 10 updates #180
Workflow file for this run
This file contains hidden or 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
| --- | |
| name: Doctor | |
| defaults: | |
| run: | |
| shell: bash | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - 'slither/tools/doctor/**' | |
| - '.github/workflows/doctor.yml' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| slither-doctor: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: ["ubuntu-latest", "windows-2025"] | |
| python: ["3.10", "3.14"] | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python ${{ matrix.python }} | |
| uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7 | |
| with: | |
| enable-cache: true | |
| - name: Try system-wide Slither | |
| run: | | |
| echo "::group::Install slither" | |
| uv pip install --system . | |
| echo "::endgroup::" | |
| # escape cwd so python doesn't pick up local module | |
| cd / | |
| echo "::group::Via module" | |
| python3 -m slither.tools.doctor "$GITHUB_WORKSPACE" | |
| echo "::endgroup::" | |
| echo "::group::Via binary" | |
| slither-doctor "$GITHUB_WORKSPACE" | |
| echo "::endgroup::" | |
| - name: Try venv Slither | |
| run: | | |
| echo "::group::Install slither" | |
| uv venv | |
| uv pip install . | |
| source .venv/bin/activate || source .venv/Scripts/activate | |
| hash -r | |
| echo "::endgroup::" | |
| # escape cwd so python doesn't pick up local module | |
| cd / | |
| echo "::group::Via module" | |
| python3 -m slither.tools.doctor "$GITHUB_WORKSPACE" | |
| echo "::endgroup::" | |
| echo "::group::Via binary" | |
| slither-doctor "$GITHUB_WORKSPACE" | |
| echo "::endgroup::" |