Plex-FAWE/.github/workflows/codeql.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
902 B
YAML
Raw Normal View History

2022-10-08 11:34:25 +00:00
name: "CodeQL"
on:
push:
branches: [main]
2022-10-08 11:34:25 +00:00
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
2022-10-08 11:34:25 +00:00
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: ['java']
2022-10-08 11:34:25 +00:00
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
cache: gradle
java-version: 17
2022-10-08 11:34:25 +00:00
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
2022-10-08 11:34:25 +00:00
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3
2022-10-08 11:34:25 +00:00
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3