FastAsyncWorldEdit/.github/workflows/codeql.yml

Revisionen in .git-blame-ignore-revs werden ignoriert. Klicke hier, um das zu umgehen und die normale Blame-Ansicht zu sehen.

37 Zeilen
902 B
YAML

2022-10-08 13:34:25 +02:00
name: "CodeQL"
on:
push:
branches: [main]
2022-10-08 13:34:25 +02:00
pull_request:
# The branches below must be a subset of the branches above
branches: [main]
2022-10-08 13:34:25 +02: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 13:34:25 +02:00
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
cache: gradle
java-version: 21
2022-10-08 13:34:25 +02:00
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
2022-10-08 13:34:25 +02:00
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v3
2022-10-08 13:34:25 +02:00
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3