Skip to content

update files of remote tegonal-gh-commons to version v2.5.0 via gt #85

update files of remote tegonal-gh-commons to version v2.5.0 via gt

update files of remote tegonal-gh-commons to version v2.5.0 via gt #85

#
# __ __
# / /____ ___ ____ ___ ___ _/ / This file is provided to you by https://github.com/tegonal/scala-commons
# / __/ -_) _ `/ _ \/ _ \/ _ `/ / Copyright 2024 Tegonal Genossenschaft <info@tegonal.com>
# \__/\__/\_, /\___/_//_/\_,_/_/ It is licensed under Creative Commons Zero v1.0 Universal
# /___/ Please report bugs and contribute back your improvements
#
# Version: v0.1.0-SNAPSHOT
###################################
name: Quality Assurance
on: [ push, pull_request ]
jobs:
before_pr:
name: before-pr.sh
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install shellcheck
run: ./lib/tegonal-scripts/src/ci/install-shellcheck.sh
- name: before-pr.sh
run: ./scripts/before-pr.sh
matrix_prep:
name: Matrix Preparation Scala
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- id: set-matrix
run: |
node .github/workflows/matrix.js
qa_scala:
needs: matrix_prep
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix: ${{fromJson(needs.matrix_prep.outputs.matrix)}}
name: '${{ matrix.name }}'
env:
JAVA_VERSION: ${{ matrix.java_version }}
steps:
- uses: actions/checkout@v4
- name: "Set up JDK ${{ matrix.java_version }}"
uses: actions/setup-java@v4
with:
distribution: ${{ matrix.java_distribution }}
java-version: ${{ matrix.java_version }}
cache: 'sbt'
- name: "sbt test using JDK ${{ matrix.java_version }}"
run: sbt test
- name: "sbt publishLocal using JDK ${{ matrix.java_version }}"
run: sbt publishLocal