Merge branch 'develop' into fk_as_value #10176
Workflow file for this run
This file contains 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: Find unused code | |
on: | |
push: | |
paths: | |
- '**.py' | |
pull_request: | |
paths: | |
- '**.py' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
# We only want to run on external PRs, since internal PRs are covered by "push" | |
# This prevents this from running twice on internal PRs | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- name: Install Vulture | |
run: pip3 install vulture | |
- name: Run Vulture | |
run: vulture . |