Skip to content

Detect leaking resources and bad code patterns #49

Detect leaking resources and bad code patterns

Detect leaking resources and bad code patterns #49

Workflow file for this run

# Staticmajor: Static analyzer to catch leaking resources & other bad code patterns
name: Detect leaking resources and bad code patterns
on:
pull_request:
paths:
- "**.go"
push:
branches: [ main ]
paths:
- "**.go"
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