Update sbt-scalafix to 0.11.0 #714
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: | |
branches: | |
- main | |
paths-ignore: | |
- 'web-app/**' | |
- 'imgs/**' | |
- 'README.md' | |
- 'kafka.yml' | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'web-app/**' | |
- 'imgs/**' | |
- 'README.md' | |
- 'docker-compose.yml' | |
- 'kafka.yml' | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/[email protected] | |
- name: "Cache for sbt & coursier ♨️" | |
uses: coursier/[email protected] | |
with: | |
extraSbtFiles: 'tmp/remote-cache/**' | |
- name: "Starting up Redis 🐳" | |
run: docker-compose up -d redis | |
- name: "Install Nix ❄️" | |
uses: cachix/install-nix-action@v16 | |
- name: "Install Cachix ❄️" | |
uses: cachix/cachix-action@v10 | |
with: | |
name: feda | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- name: "Run trading tests 🚀" | |
run: nix develop -c sbt 'pullRemoteCache;test;it/test;webapp/fastLinkJS;pushRemoteCache' | |
- name: "Shutting down Redis 🐳" | |
run: docker-compose down |