mirror of
https://github.com/HACKERALERT/Picocrypt.git
synced 2024-12-28 10:24:19 +00:00
41 lines
972 B
YAML
41 lines
972 B
YAML
name: "CodeQL"
|
|
on:
|
|
push:
|
|
paths:
|
|
- "src/*.go"
|
|
- "src/go.mod"
|
|
- "src/go.sum"
|
|
- "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"
|
|
- "web/*.go"
|
|
- "web/go.mod"
|
|
- "web/go.sum"
|
|
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@v4
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v3
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@v3
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v3
|