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

31 lines
546 B
YAML
Raw Normal View History

2022-03-06 21:48:25 +08:00
name: CodeQL
on:
push:
2022-03-06 21:48:25 +08:00
branches: [master, dev]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
2022-03-06 21:48:25 +08:00
language: ['go']
steps:
- name: Checkout repository
2022-03-06 21:48:25 +08:00
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2