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

42 lines
972 B
YAML
Raw Permalink Normal View History

2021-12-15 15:37:17 +13:00
name: "CodeQL"
on:
push:
paths:
2021-12-30 05:21:02 +13:00
- "src/*.go"
- "src/go.mod"
- "src/go.sum"
2024-04-26 15:40:35 +12:00
- "cli/v1/picocrypt/*.go"
- "cli/v1/picocrypt/go.mod"
- "cli/v1/picocrypt/go.sum"
- "cli/v2/picocrypt/*.go"
- "cli/v2/picocrypt/go.mod"
- "cli/v2/picocrypt/go.sum"
2023-08-06 16:03:12 +12:00
- "web/*.go"
- "web/go.mod"
- "web/go.sum"
2021-12-15 15:37:17 +13: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
2024-04-26 15:40:35 +12:00
uses: actions/checkout@v4
2021-12-15 15:37:17 +13:00
- name: Initialize CodeQL
2024-04-26 15:40:35 +12:00
uses: github/codeql-action/init@v3
2021-12-15 15:37:17 +13:00
with:
languages: ${{ matrix.language }}
- name: Autobuild
2024-04-26 15:40:35 +12:00
uses: github/codeql-action/autobuild@v3
2021-12-15 15:37:17 +13:00
- name: Perform CodeQL Analysis
2024-04-26 15:40:35 +12:00
uses: github/codeql-action/analyze@v3