Aktiverer automatisk migrering av flyway scripts og setter opp baseklasse for integrasjonstester mot postgresql og kafka. #1647
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: Build Pull Request | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- '**.MD' | |
- '.gitignore' | |
- 'LICENSE' | |
- 'CODEOWNERS' | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: maven | |
- name: Bygge JAR | |
run: mvn clean package --settings ./.m2/settings.xml | |
env: | |
GITHUB_PASSWORD: ${{ secrets.READER_TOKEN }} | |
- name: Bygg Docker image | |
run: docker build --pull . | |
- name: Dependency Review | |
uses: actions/dependency-review-action@v3 | |
with: | |
fail-on-severity: moderate | |
comment-summary-in-pr: on-failure |