github.com/cosmos/cosmos-sdk@v0.50.10/.github/workflows/staticmajor.yml (about) 1 # Staticmajor: Static analyzer to catch leaking resources & other bad code patterns 2 name: Detect leaking resources and bad code patterns 3 on: 4 push: 5 branches: 6 - main 7 pull_request: 8 workflow_dispatch: 9 10 jobs: 11 run_staticmajor: 12 runs-on: ubuntu-latest 13 steps: 14 - name: Check out repository code 15 uses: actions/checkout@v3 16 - name: Staticmajor action 17 id: staticmajor 18 uses: orijtech/staticmajor-action@main 19 with: 20 packages: ./... 21 resleak: true 22 structslop: false 23 tests: false