Skip to content

chore(deps): update dependency gradle to v8 #245

chore(deps): update dependency gradle to v8

chore(deps): update dependency gradle to v8 #245

# GitHub Action workflow to run CodeQL.
name: "CodeQL"
on:
push:
pull_request:
schedule:
- cron: '25 6 * * 5'
concurrency:
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}"
cancel-in-progress: true
env:
JAVA_VERSION: 18
jobs:
analyze:
name: "Analyze"
if: "${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}"
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@v3
- name: "Initialize CodeQL"
uses: github/codeql-action/init@v2
with:
languages: "${{ matrix.language }}"
- name: "Set up JDK ${{ env.JAVA_VERSION }}"
uses: actions/setup-java@v3
with:
java-version: "${{ env.JAVA_VERSION }}"
distribution: "adopt"
- name: "Build"
uses: gradle/gradle-build-action@v2
with:
arguments: "build"
- name: "Perform CodeQL Analysis"
uses: github/codeql-action/analyze@v2