Static analysis #248
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: Static analysis | |
on: | |
workflow_run: | |
workflows: [ "Push latest GISNav multi-arch Docker images to GHCR" ] | |
types: | |
- completed | |
# Allows running manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
analyze: | |
runs-on: ubuntu-20.04 | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
defaults: | |
run: | |
shell: bash | |
steps: | |
- name: Run pre-commit | |
run: docker run ghcr.io/${{ github.repository }}:latest make test-static |