feat: transparent leader hint reconnect on consume #21
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: '17' | |
| - uses: gradle/actions/setup-gradle@v4 | |
| - name: Download fila-server | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| gh release download dev-latest --repo faiscadev/fila --pattern "fila-dev-*-linux-amd64.tar.gz" | |
| tar xzf fila-dev-*-linux-amd64.tar.gz | |
| mv fila-dev-*/fila-server /usr/local/bin/ | |
| mv fila-dev-*/fila /usr/local/bin/ | |
| chmod +x /usr/local/bin/fila-server /usr/local/bin/fila | |
| - name: Build | |
| run: ./gradlew build -x test | |
| - name: Lint (spotless) | |
| run: ./gradlew spotlessCheck | |
| - name: Test | |
| run: ./gradlew test |