chore(deps): update dependency sbt/sbt to v1.10.7 #182
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: Scala CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache sbt | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.sbt | |
~/.ivy2/cache | |
~/.cache/coursier | |
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 11 | |
distribution: 'adopt' | |
- name: Run tests | |
run: sbt test | |
# versionpolicycheck: | |
# name: Version policy check | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: Cache sbt | |
# uses: actions/cache@v2 | |
# with: | |
# path: | | |
# ~/.sbt | |
# ~/.ivy2/cache | |
# ~/.cache/coursier | |
# key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | |
# - name: Set up JDK | |
# uses: actions/setup-java@v1 | |
# with: | |
# java-version: 11 | |
# - name: Version check | |
# run: sbt versionPolicyCheck |