3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-30 21:00:06 +01:00
FastAsyncWorldEdit/.github/workflows/codeql.yml

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