Merge pull request #322 from gvolpe/update/fs2-core-3.9.4 #828
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-latest | |
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@v22 | |
- name: "Install Cachix ❄️" | |
uses: cachix/cachix-action@v12 | |
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 |