fix(notification): Paginate and bulk-insert follower fan-out in notifyFollowers() #107
Workflow file for this run
This file contains hidden or 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: CI Pipeline | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| SPRING_PROFILES_ACTIVE: test | |
| CI: true | |
| APP_NAME: loghub-me | |
| ACCESS_TOKEN_SECRET: ${{ secrets.ACCESS_TOKEN_SECRET }} | |
| ASSETS_HOST: ${{ secrets.ASSETS_HOST }} | |
| MANAGEMENT_PORT: ${{ secrets.MANAGEMENT_PORT }} | |
| CLIENT_HOST: ${{ secrets.CLINET_HOST }} | |
| TASK_API_HOST: ${{ secrets.TASK_API_HOST }} | |
| TASK_API_INTERVAL_TOKEN: ${{ secrets.TASK_API_INTERVAL_TOKEN }} | |
| DB_HOST: ${{ secrets.DB_HOST }} | |
| DB_PORT: ${{ secrets.DB_PORT }} | |
| DB_NAME: ${{ secrets.DB_NAME }} | |
| DB_USERNAME: ${{ secrets.POSTGRES_USER }} | |
| DB_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} | |
| REDIS_HOST: ${{ secrets.REDIS_HOST }} | |
| REDIS_PORT: ${{ secrets.REDIS_PORT }} | |
| RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }} | |
| RESEND_FROM_EMAIL: ${{ secrets.RESEND_FROM_EMAIL }} | |
| DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.DOCKER_PASSWORD }} | |
| - name: Validate Gradle Wrapper | |
| uses: gradle/actions/wrapper-validation@v4 | |
| - name: Set up GraalVM 24 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: graalvm | |
| java-version: "24" | |
| cache: gradle | |
| - name: Setup Gradle (caching & config) | |
| uses: gradle/actions/setup-gradle@v3 | |
| - name: Make gradlew executable | |
| run: chmod +x ./gradlew | |
| - name: Build (includes tests and Boot JAR) | |
| run: ./gradlew --no-daemon clean build |