Corrected comment in CI workflow YAML file #2
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: CI - Tesing the Scala Linear Regression Algorithm | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
# Choose from 'adopt' or 'temurin' (both ar recommended) | |
distribution: 'adopt' | |
- name: Cache SBT | |
uses: actions/cache@v2 | |
with: | |
path: ~/.sbt | |
key: ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }} | |
restore-keys: | | |
${{ runner.os }}-sbt- | |
- name: Cache Ivy2 | |
uses: actions/cache@v2 | |
with: | |
path: ~/.ivy2 | |
key: ${{ runner.os }}-ivy2-${{ hashFiles('**/*.sbt') }} | |
restore-keys: | | |
${{ runner.os }}-ivy2- | |
- name: Cache Coursier | |
uses: actions/cache@v2 | |
with: | |
path: ~/.cache/coursier | |
key: ${{ runner.os }}-coursier-${{ hashFiles('**/*.sbt') }} | |
restore-keys: | | |
${{ runner.os }}-coursier- | |
- name: Install dependencies | |
run: sbt update | |
- name: Run tests | |
run: sbt test |