Skip to content

Update actions/setup-java action to v4.5.0 #994

Update actions/setup-java action to v4.5.0

Update actions/setup-java action to v4.5.0 #994

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 7 * * 6'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4.2.2
with:
fetch-depth: 2
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java
- name: Set up Java
uses: actions/setup-java@v4.5.0
with:
distribution: 'adopt'
java-version: 17
- name: Build with Gradle
run: ./gradlew build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3