Skip to content

Commit

Permalink
Create yaml-validator.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaede10 authored Aug 7, 2024
1 parent 161b838 commit e538d3d
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/yaml-validator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CodeQL
on:
- push
- pull_request
permissions:
contents: read
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language:
- java
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
submodules: "true"
- name: Setup java env
uses: actions/setup-java@5ffc13f4174014e2d4d4572b3d74c3fa61aeb2c2
with:
distribution: corretto
java-version: "17"
- name: Initialize CodeQL
uses: github/codeql-action/init@1813ca74c3faaa3a2da2070b9b8a0b3e7373a0d8
with:
languages: ${{ matrix.language }}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@1813ca74c3faaa3a2da2070b9b8a0b3e7373a0d8 # v2.21.0
with:
category: "/language:${{matrix.language}}"

0 comments on commit e538d3d

Please sign in to comment.