Update sbt to 1.10.1 #1430
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: Scala | |
on: | |
pull_request: {} | |
push: | |
branches: | |
- second-edition | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-18.04 | |
strategy: | |
matrix: | |
java: | |
- graalvm11-ce | |
steps: | |
- uses: actions/[email protected] | |
- name: "Cache for sbt & coursier ♨️" | |
uses: coursier/[email protected] | |
- name: "Starting up Postgres & Redis 🐳" | |
run: docker-compose up -d | |
- name: "Install Nix ❄️" | |
uses: cachix/install-nix-action@v13 | |
- name: "Install Cachix ❄️" | |
uses: cachix/cachix-action@v10 | |
with: | |
name: practical-fp-in-scala | |
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}" | |
- name: "Run with ${{ matrix.java }} 🚀" | |
run: nix-shell --argstr jdk "${{ matrix.java }}" --run "sbt 'scalafmtCheckAll;test;it:test'" | |
- name: "Shutting down Postgres & Redis 🐳" | |
run: docker-compose down |