-
Notifications
You must be signed in to change notification settings - Fork 84
40 lines (31 loc) · 942 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Scala
on:
pull_request: {}
push:
branches:
- series/1.x # CE3
paths:
- "modules/**"
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Starting up Valkey 🐳"
run: docker compose up -d
- name: "Cache for sbt & coursier ♨️"
uses: coursier/cache-action@v6
- name: "Install Nix ❄️"
uses: cachix/install-nix-action@v27
- name: "Install Cachix ❄️"
uses: cachix/cachix-action@v15
with:
name: redis4cats
signingKey: "${{ secrets.CACHIX_SIGNING_KEY }}"
- name: "Run tests and compile documentation 🚀"
run: nix develop -c sbt 'buildRedis4Cats'
- name: "Test for Binary Compatibility 📦"
run: nix develop -c sbt 'mimaReportBinaryIssuesIfRelevant'
- name: "Shutting down Valkey 🐳"
run: docker compose down