23 lines
537 B
YAML
23 lines
537 B
YAML
name: CodeQL
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v1
|
|
with:
|
|
languages: go
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@v1
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v1
|