Skip to content

Flytte maximumPoolSize innstillingen til NAIS config #194

Flytte maximumPoolSize innstillingen til NAIS config

Flytte maximumPoolSize innstillingen til NAIS config #194

Workflow file for this run

name: "Build and test pull request"
on:
workflow_dispatch:
pull_request:
jobs:
build:
name: "Build and test"
runs-on: "ubuntu-20.04"
permissions:
packages: write
repository-projects: write
contents: write
steps:
- uses: "actions/checkout@v4"
- uses: "actions/setup-java@v3"
with:
"java-version": "21"
"distribution": "temurin"
- name: Cache Gradle
uses: actions/cache@v4
with:
path: |
~/.gradle/wrapper
~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', '**/gradle.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: "Build and tests"
run: ./gradlew test build
env:
ORG_GRADLE_PROJECT_githubUser: x-access-token
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}