update files of remote tegonal-gh-commons to version v4.2.0 via gt #405
This file contains hidden or 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
| # | |
| # __ __ | |
| # / /____ ___ ____ ___ ___ _/ / This file is provided to you by https://github.com/tegonal/scala-commons | |
| # / __/ -_) _ `/ _ \/ _ \/ _ `/ / Copyright 2024 Tegonal Genossenschaft <[email protected]> | |
| # \__/\__/\_, /\___/_//_/\_,_/_/ 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@v5 | |
| - name: Setup JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: 17 | |
| cache: sbt | |
| - uses: sbt/setup-sbt@v1 | |
| - 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@v5 | |
| 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@v5 | |
| - name: "Set up JDK ${{ matrix.java_version }}" | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: ${{ matrix.java_distribution }} | |
| java-version: ${{ matrix.java_version }} | |
| cache: 'sbt' | |
| - uses: sbt/setup-sbt@v1 | |
| - name: "sbt test using JDK ${{ matrix.java_version }}" | |
| run: sbt test | |
| - name: "sbt publishLocal using JDK ${{ matrix.java_version }}" | |
| run: sbt publishLocal |