Skip to content

Merge pull request #38 from navikt/dependabot/maven/net.logstash.logb… #55

Merge pull request #38 from navikt/dependabot/maven/net.logstash.logb…

Merge pull request #38 from navikt/dependabot/maven/net.logstash.logb… #55

Workflow file for this run

name: Release (Github Package Registry)
on:
push:
branches:
- 'main'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11
cache: 'maven'
- uses: nbadal/action-ktlint-setup@v1
with:
ktlint_version: '0.47.1'
- name: Ktlint
run: ktlint
- name: Run tests
run: mvn clean test
- name: Run Maven release
run: ./.github/release.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}