Bump kotestVersion from 5.6.2 to 5.7.1 #5027
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 non-master/main branches on push. | |
# If you want to deploy your branch see branch-deploy.yml | |
on: | |
push: | |
branches: | |
- '*' # matches every branch that doesn't contain a '/' | |
- '*/*' # matches every branch containing a single '/' | |
- '**' # matches every branch | |
- '!master' # excludes master | |
- '!main' # excludes main (will probably replace master) | |
paths-ignore: | |
- '.github/workflows/datapakker.yml' | |
- '.github/workflows/codeql.yml' | |
- '.github/workflows/alerts-deploy.yml' | |
- 'datapakker/**' | |
env: | |
IMAGE: ghcr.io/${{ github.repository }}/su-se-bakover:${{ github.sha }} | |
jobs: | |
build: | |
name: Run Gradle test and build steps | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('gradle.properties', 'settings.gradle.kts', '**/build.gradle.kts', 'gradle/wrapper/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: '19' | |
distribution: 'temurin' | |
- name: test and build | |
run: ./gradlew --no-build-cache test build | |
env: | |
ORG_GRADLE_PROJECT_githubUser: x-access-token | |
ORG_GRADLE_PROJECT_githubPassword: ${{ secrets.GITHUB_TOKEN }} |