Detect leaking resources and bad code patterns #728
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
# Staticmajor: Static analyzer to catch leaking resources & other bad code patterns | |
name: Detect leaking resources and bad code patterns | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
run_staticmajor: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Staticmajor action | |
id: staticmajor | |
uses: orijtech/staticmajor-action@main | |
with: | |
packages: ./... | |
resleak: true | |
structslop: false | |
tests: false |