Update cats-core to 2.12.0 #448
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: Continuous Integration | |
on: | |
pull_request: | |
branches: ['*'] | |
push: | |
branches: ['master'] | |
jobs: | |
build: | |
name: Build and Test Scala ${{matrix.scala}} | |
if: "!contains(github.event.head_commit.message, 'ci skip')" | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
scala: [2.12.12, 2.13.3] | |
java: [[email protected]] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout current branch (full) | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup Java and Scala | |
uses: olafurpg/setup-scala@v10 | |
with: | |
java-version: ${{ matrix.java }} | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Cache ivy2 | |
uses: actions/cache@v1 | |
with: | |
path: ~/.ivy2/cache | |
key: ${{ runner.os }}-sbt-ivy-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | |
- name: Cache coursier (generic) | |
uses: actions/cache@v1 | |
with: | |
path: ~/.coursier/cache/v1 | |
key: ${{ runner.os }}-generic-sbt-coursier-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | |
- name: Cache coursier (linux) | |
if: contains(runner.os, 'linux') | |
uses: actions/cache@v1 | |
with: | |
path: ~/.cache/coursier/v1 | |
key: ${{ runner.os }}-sbt-coursier-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | |
- name: Cache sbt | |
uses: actions/cache@v1 | |
with: | |
path: ~/.sbt | |
key: ${{ runner.os }}-sbt-cache-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} | |
- run: | | |
pip install virtualenv | |
sbt ++${{ matrix.scala }} test stage | |
./build.sh | |