Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Update build.yml to use codecov token #182

Update build.yml to use codecov token

Update build.yml to use codecov token #182

Workflow file for this run

name: CodeQL analysis
on:
pull_request:
branches: [ main ]
types: [ opened, synchronize ]
push:
branches: [ main ]
jobs:
codeql:
name: CodeQL analysis (${{ matrix.language }})
runs-on: ubuntu-22.04
concurrency:
group: codeql-codeql-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'java' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.1
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Initialize JDK
uses: actions/setup-java@v4.2.1
with:
cache: maven
check-latest: true
distribution: zulu
java-version: '17'
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"