Fix CI: install missing sbt #38
Workflow file for this run
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
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest] | |
| scala: [2.12.x, 2.13.x, 3.x] | |
| java: [11] | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| TZ: Asia/Tokyo | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up JDK 11 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: adopt | |
| - uses: sbt/setup-sbt@v1 | |
| - name: Download Athena JDBC v3 Driver | |
| run: mkdir -p lib && curl -L -o lib/athena-v3.jar https://downloads.athena.us-east-1.amazonaws.com/drivers/JDBC/3.5.1/athena-jdbc-3.5.1-with-dependencies.jar | |
| shell: bash | |
| - name: Download Athena JDBC v2 Driver | |
| run: mkdir -p lib && curl -L -o lib/athena-v2.jar https://downloads.athena.us-east-1.amazonaws.com/drivers/JDBC/SimbaAthenaJDBC-2.1.1.1000/AthenaJDBC42-2.1.1.1000.jar | |
| shell: bash | |
| - name: Test | |
| run: sbt -v -Dfile.encoding=UTF-8 ++${{ matrix.scala }} test | |
| shell: bash |