Picocrypt/.github/workflows/codeql-analysis.yml

33 lines
711 B
YAML
Raw Normal View History

2021-12-15 03:37:17 +01:00
name: "CodeQL"
on:
push:
paths:
2021-12-29 17:21:02 +01:00
- "src/*.go"
- "src/go.mod"
- "src/go.sum"
2021-12-15 03:37:17 +01:00
pull_request:
branches: [ main ]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ['go']
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Initialize CodeQL
2022-07-01 20:13:18 +02:00
uses: github/codeql-action/init@v2
2021-12-15 03:37:17 +01:00
with:
languages: ${{ matrix.language }}
- name: Autobuild
2022-07-01 20:13:18 +02:00
uses: github/codeql-action/autobuild@v2
2021-12-15 03:37:17 +01:00
- name: Perform CodeQL Analysis
2022-07-01 20:13:18 +02:00
uses: github/codeql-action/analyze@v2