Skip to content

test: adjust the unit CategoryService #107

test: adjust the unit CategoryService

test: adjust the unit CategoryService #107

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
schedule:
- cron: '0 0 * * 0'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
matrix:
language: [java]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Perform CodeQL Analysis
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
- name: Start Docker Compose
run: docker compose up -d
- name: Build with Maven
run: mvn clean install -Dspring.profiles.active=dev
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
- name: Stop Docker Compose
if: always()
run: docker compose down