Skip to content

feat: search posts and users (server side) #34

feat: search posts and users (server side)

feat: search posts and users (server side) #34

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up our JDK environment
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 19
- name: Install dependencies and run tests
run: ./gradlew jvmTest koverXmlReport
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
deploy:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up our JDK environment
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 19
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: nathanfallet
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Build and publish to Docker Hub
run: ./gradlew publishImage