24 lines
570 B
YAML
24 lines
570 B
YAML
# 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@v3
|
|
- name: Staticmajor action
|
|
id: staticmajor
|
|
uses: orijtech/staticmajor-action@main
|
|
with:
|
|
packages: ./...
|
|
resleak: true
|
|
structslop: false
|
|
tests: false
|