Skip to content

Bump the python-manual-sample-app-deps group across 1 directory with 9 updates #2139

Bump the python-manual-sample-app-deps group across 1 directory with 9 updates

Bump the python-manual-sample-app-deps group across 1 directory with 9 updates #2139

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '30 19 * * 4'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'go', 'java', 'python']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Autobuild
if: matrix.language == 'go'
uses: github/codeql-action/autobuild@v3
- if: matrix.language == 'java'
uses: actions/setup-java@v4
with:
java-version: 11
distribution: corretto
- if: matrix.language == 'java'
name: Setup Gradle
uses: gradle/gradle-build-action@v2
- if: matrix.language == 'java'
name: Build Java
working-directory: sample-apps/java-sample-app
run: |
./gradlew build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3