feat: add endpoint for updating review #9
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: Java CI with Maven | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
MONGODB_NAME: ${{ secrets.MONGODB_NAME }} | |
MONGODB_USER: ${{ secrets.MONGODB_USER }} | |
MONGODB_PASSWORD: ${{ secrets.MONGODB_PASSWORD }} | |
MONGODB_CLUSTER: ${{ secrets.MONGODB_CLUSTER }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
cache: maven | |
- name: Check Maven build | |
run: mvn --batch-mode --update-snapshots package | |
- name: Run Maven tests | |
run: mvn test |