run query for browser_events with arrayJoin instead of building in loop #125
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: Backend build | |
on: | |
pull_request: | |
types: | |
- synchronize | |
- opened | |
- reopened | |
paths: | |
- 'app-server/**' | |
jobs: | |
build-push: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Cache Docker layers | |
uses: actions/cache@v4 | |
with: | |
path: /tmp/.buildx-cache | |
key: ${{ runner.os }}-buildx-app-server-pr-${{ hashFiles('Cargo.lock') }} | |
restore-keys: | | |
${{ runner.os }}-buildx-app-server-pr- | |
- name: Build Docker image | |
uses: docker/build-push-action@v6 | |
with: | |
context: ./app-server | |
push: false | |
platforms: linux/amd64 | |
cache-from: type=local,src=/tmp/.buildx-cache | |
cache-to: type=local,dest=/tmp/.buildx-cache,mode=max |