Skip to content

Advance sprint 4 chat parity and message UX #13

Advance sprint 4 chat parity and message UX

Advance sprint 4 chat parity and message UX #13

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 3 * * 1'
jobs:
codeql-disabled:
name: CodeQL Disabled
runs-on: ubuntu-latest
if: ${{ github.event.repository.private && vars.ENABLE_PRIVATE_CODEQL != 'true' }}
steps:
- name: Explain why CodeQL is skipped
run: |
echo "Skipping CodeQL because this repository is private and GitHub Advanced Security is not enabled."
echo "Enable GitHub Advanced Security, then set the ENABLE_PRIVATE_CODEQL repository variable to true."
analyze:
name: Analyze
runs-on: ubuntu-latest
if: ${{ github.event.repository.private == false || vars.ENABLE_PRIVATE_CODEQL == 'true' }}
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'java-kotlin' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '17'
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- name: Install dependencies
run: flutter pub get
- name: Build Android
run: flutter build apk --debug
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3