Upgrade to LA code to use Form Flow Library version 0.0.17 #1222
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CodeQL" | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ "main" ] | |
jobs: | |
analyze: | |
name: Analyze | |
runs-on: 'ubuntu-latest' | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
services: | |
postgres: | |
image: postgres | |
env: | |
POSTGRES_USER: la-doc-uploader-test | |
POSTGRES_DB: la-doc-uploader-test | |
POSTGRES_PASSWORD: postgres | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
ports: | |
- 5432:5432 | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ 'java', 'javascript' ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4.0.0 | |
with: | |
distribution: 'adopt' | |
java-version: '17' | |
cache: 'gradle' | |
# Initializes the CodeQL tools for scanning. | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v2 | |
with: | |
languages: ${{ matrix.language }} | |
queries: security-extended,security-and-quality | |
# If you wish to specify custom queries, you can do so here or in a config file. | |
# By default, queries listed here will override any specified in a config file. | |
# Prefix the list here with "+" to use these queries and those in the config file. | |
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs | |
# queries: security-extended,security-and-quality | |
# ℹ️ Command-line programs to run using the OS shell. | |
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun | |
# If the Autobuild fails above, remove it and uncomment the following three lines. | |
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. | |
- run: | | |
echo "Run, Build Application using script" | |
chmod +x ./.github/workflows/codeql_buildscript.sh | |
./.github/workflows/codeql_buildscript.sh | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v2 | |
with: | |
category: "/language:${{matrix.language}}" | |
- name: Save results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: CodeQL results | |
path: /home/runner/work/la-doc-uploader/results | |
retention-days: 14 |