[server] Serve agdb_studio from the server #1486 #571
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: examples | |
on: | |
pull_request: | |
branches: ["main"] | |
paths: | |
- examples/** | |
- agdb/** | |
- agdb_derive/** | |
- agdb_server/** | |
- agdb_api/** | |
- .github/workflows/examples.yaml | |
jobs: | |
agdb_examples_rust: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- run: cargo fmt -p examples_app_db -p examples_indexes -p examples_joins -p examples_schema_migration -p examples_server_client -p examples_user_types --check | |
- run: cargo clippy -p examples_app_db -p examples_indexes -p examples_joins -p examples_schema_migration -p examples_server_client -p examples_user_types --all-targets --all-features -- -D warnings | |
- run: cargo build -p examples_app_db -p examples_indexes -p examples_joins -p examples_schema_migration -p examples_server_client -p examples_user_types --all-features -r | |
agdb_examples_typescript: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: examples/server_client_typescript | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm ci && npm run build | |
working-directory: agdb_api/typescript | |
- run: npm ci | |
- run: npm run format:check | |
- run: npm run build | |
agdb_examples_php: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: examples/server_client_php | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm ci | |
- run: npx prettier --plugin '@prettier/plugin-php' --check src | |
- run: composer config --global use-parent-dir true | |
- run: composer install | |
- run: vendor/bin/phpstan analyse --level=9 -v src |