update files of remote gt to version v1.0.4 via gt #190
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
# | |
# __ __ | |
# / /____ ___ ____ ___ ___ _/ / 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@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: "install sbt" | |
if: ${{ matrix.os == 'macos-latest'}} | |
run: brew install sbt | |
- name: "sbt test using JDK ${{ matrix.java_version }}" | |
run: sbt test | |
- name: "sbt publishLocal using JDK ${{ matrix.java_version }}" | |
run: sbt publishLocal | |
todo_checker: | |
name: check for TODOs | |
runs-on: ubuntu-latest | |
steps: | |
- name: check for TODOs | |
uses: tegonal/[email protected] | |
with: | |
commands: todo-checker |