chore(Dependencies) : update sbt-converter from 1.0.0-beta40 to 1.0.0-beta44 #2556
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: scalaci | |
on: [ push, pull_request ] | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [ 11.0.17, 15.0.2 ] # 17.0.5 spark Tests unsuccessful | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cache SBT | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.ivy2/cache | |
~/.ivy2/local | |
~/.sbt | |
~/.m2/repository | |
key: ${{ runner.os }}-job-test-${{ matrix.java-version }}-sbt-${{ hashFiles('**/build.sbt') }} | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} # The JDK version to make available on the path. | |
distribution: adopt | |
architecture: x64 # (x64 or x86) - defaults to x64 | |
cache: 'sbt' | |
- name: Run Tests | |
run: ./.cicd/test.sh | |
script-test: | |
name: Script Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [ 11.0.17, 15.0.2, 17.0.5 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cache SBT | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.ivy2/cache | |
~/.ivy2/local | |
~/.sbt | |
~/.m2/repository | |
key: ${{ runner.os }}-job-script-test-${{ matrix.java-version }}-sbt-${{ hashFiles('**/build.sbt') }} | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} # The JDK version to make available on the path. | |
distribution: adopt | |
architecture: x64 # (x64 or x86) - defaults to x64 | |
cache: 'sbt' | |
- name: Run Script Tests | |
run: ./.cicd/script-test.sh | |
integration-test: | |
name: Integration Test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [ 11.0.17, 15.0.2, 17.0.5 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cache SBT | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.ivy2/cache | |
~/.ivy2/local | |
~/.sbt | |
~/.m2/repository | |
key: ${{ runner.os }}-job-integration-test-${{ matrix.java-version }}-sbt-${{ hashFiles('**/build.sbt') }} | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} # The JDK version to make available on the path. | |
distribution: adopt | |
architecture: x64 # (x64 or x86) - defaults to x64 | |
cache: 'sbt' | |
- name: Run Integration Tests | |
run: ./.cicd/integration-test.sh # https://github.com/testcontainers/testcontainers-java/issues/3122 | |
benchmarks: | |
name: Benchmarks | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [ 11.0.17, 15.0.2, 17.0.5 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cache SBT | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.ivy2/cache | |
~/.ivy2/local | |
~/.sbt | |
~/.m2/repository | |
key: ${{ runner.os }}-job-benchmarks-${{ matrix.java-version }}-sbt-${{ hashFiles('**/build.sbt') }} | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} # The JDK version to make available on the path. | |
distribution: adopt | |
architecture: x64 # (x64 or x86) - defaults to x64 | |
cache: 'sbt' | |
- name: Run Benchmarks | |
run: ./.cicd/benchmarks.sh | |
cdktf: | |
name: Cdktf | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [ 11.0.17, 15.0.2, 17.0.5 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cache SBT | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.ivy2/cache | |
~/.ivy2/local | |
~/.sbt | |
~/.m2/repository | |
key: ${{ runner.os }}-job-cdktf-${{ matrix.java-version }}-sbt-${{ hashFiles('**/build.sbt') }} | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} # The JDK version to make available on the path. | |
distribution: adopt | |
architecture: x64 # (x64 or x86) - defaults to x64 | |
cache: 'sbt' | |
- name: Run cdktf | |
run: | | |
sbt -v terraform-cdktf-scalajs/run && \ | |
cat modules/hashicorp/terraform-cdktf-scalajs/src/main/resources/cdk.tf.json && \ | |
yarn --cwd modules/hashicorp/terraform-cdktf-scala/ install && \ | |
yarn --cwd modules/hashicorp/terraform-cdktf-scala/ fetch && \ | |
sbt -v terraform-cdktf-scala/run && \ | |
cat modules/hashicorp/terraform-cdktf-scala/src/main/resources/stacks/cdktf-terraform-stack/cdk.tf.json && \ | |
cat modules/hashicorp/terraform-cdktf-scala/src/main/resources/stacks/cdktf-terraform-state/cdk.tf.json | |
dotty: | |
name: Dotty | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [ 11.0.17, 15.0.2, 17.0.5 ] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Cache SBT | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.ivy2/cache | |
~/.ivy2/local | |
~/.sbt | |
~/.m2/repository | |
key: ${{ runner.os }}-job-dotty-${{ matrix.java-version }}-sbt-${{ hashFiles('**/build.sbt') }} | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} # The JDK version to make available on the path. | |
distribution: adopt | |
architecture: x64 # (x64 or x86) - defaults to x64 | |
cache: 'sbt' | |
- name: Run dotty | |
run: sbt dotty/run |