Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
26 lines
599 B
YAML
26 lines
599 B
YAML
# 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
|