mirror of
https://github.com/appwrite/appwrite
synced 2026-04-21 13:37:16 +00:00
- Add COMPOSE_FILE=docker-compose.yml to tests, benchmark, and sdk-preview to prevent loading overrides in CI - Add target: development to tests/benchmark builds, target: production to pr-scan/nightly builds - Bump actions/checkout v4→v6, docker/build-push-action v4/v5→v6, actions/upload-artifact v4→v6, actions/github-script v7→v8 - Pin composer images to 2.8 in linter and static-analysis workflows Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
21 lines
538 B
YAML
21 lines
538 B
YAML
name: "Static code analysis"
|
|
|
|
on: [pull_request]
|
|
jobs:
|
|
lint:
|
|
name: CodeQL
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Check out the repo
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Run CodeQL
|
|
run: |
|
|
docker run --rm -v $PWD:/app composer:2.8 sh -c \
|
|
"composer install --profile --ignore-platform-reqs && composer check"
|
|
|
|
- name: Run Locale check
|
|
run: |
|
|
docker run --rm -v $PWD:/app node:24-alpine sh -c \
|
|
"cd /app/.github/workflows/static-analysis/locale && node index.js"
|