Skip to content

Remove Events

Remove Events #357

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
jobs:
analyze-js:
name: Analyze JavaScript
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: javascript
- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
analyze-java:
name: Analyze Java
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: java
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: test
build-root-directory: backend/
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2