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

31 lines
636 B
YAML
Raw Normal View History

2020-12-15 22:59:06 +00:00
name: CodeQL
2020-07-04 19:30:38 +00:00
on:
2020-11-15 20:04:03 +00:00
push:
branches:
- develop
2020-07-04 19:30:38 +00:00
pull_request:
branches:
- develop
2020-12-15 22:59:06 +00:00
schedule:
- cron: '0 9 * * 4'
2020-07-04 19:30:38 +00:00
jobs:
2020-12-15 22:59:06 +00:00
analyze:
name: Analyze
2021-07-04 22:03:39 +00:00
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
2020-12-15 22:59:06 +00:00
strategy:
fail-fast: false
matrix:
2021-07-04 22:03:39 +00:00
language: [ 'go' ]
2020-07-04 19:30:38 +00:00
steps:
2021-07-04 22:03:39 +00:00
- uses: actions/checkout@v2
2020-12-15 22:59:06 +00:00
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
2021-07-04 22:03:39 +00:00
- uses: github/codeql-action/autobuild@v1
- uses: github/codeql-action/analyze@v1