Update sbt-ci-release to 1.7.0 #1076
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: | |
- master | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: | |
- jdk17 | |
steps: | |
- uses: actions/checkout@v2.3.2 | |
- name: "Install Docker Compose" | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y docker-compose | |
- name: "Starting up Pulsar 🐳" | |
run: docker-compose up -d | |
- name: "Cache for sbt & coursier ♨️" | |
uses: coursier/cache-action@v4.1 | |
- name: "Install Nix ❄️" | |
uses: cachix/install-nix-action@v22 | |
- name: "Run with ${{ matrix.java }} 🚀" | |
run: nix-shell --argstr java "${{ matrix.java }}" --run "SBT_OPTS='--add-opens java.base/java.lang=ALL-UNNAMED' sbt + 'it:test;test;makeSite;doc'" | |
- name: "Shutting down Pulsar 🐳" | |
run: docker-compose down |