Bump no.nav.familie.felles:felles from 3.20250312114810_5371990 to 3.20250320122046_7ca9dae in the interne-avhengigheter group #31
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-PR | |
on: | |
pull_request: | |
types: [ opened, synchronize, reopened, ready_for_review ] | |
jobs: | |
avslutt-andre-workflows-samme-branch: | |
name: Avslutt andre workflows på samme branch | |
runs-on: ubuntu-latest | |
permissions: | |
actions: write | |
steps: | |
- name: Cancel Previous Runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
ktlint: | |
name: Ktlint | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: 21 | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Kjør ktlint | |
env: | |
GITHUB_USERNAME: x-access-token | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
mvn antrun:run@ktlint | |
tester: | |
name: Tester | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
java-version: "21" | |
distribution: 'temurin' | |
cache: 'maven' | |
- name: Kjør enhetstester | |
env: | |
GITHUB_USERNAME: x-access-token | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
mvn verify -B --no-transfer-progress --settings .m2/maven-settings.xml --file pom.xml | |
- name: Last opp Jacoco enhetstester rapport | |
uses: actions/upload-artifact@v4 | |
with: | |
name: jacocoUT | |
path: target/jacoco/UT/jacoco.xml | |
retention-days: 1 | |
overwrite: true |