-
Notifications
You must be signed in to change notification settings - Fork 3
44 lines (42 loc) · 1.01 KB
/
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
41
42
43
44
name: CI
on:
push:
workflow_dispatch:
jobs:
crystal-style:
uses: PlaceOS/.github/.github/workflows/crystal-style.yml@main
test:
name: "${{ !matrix.stable && '🚧 ' || ''}}crystal: ${{ matrix.crystal }}, etcd: ${{ matrix.etcd }}"
strategy:
fail-fast: false
matrix:
crystal:
- 1.1.1
- 1.2.2
etcd:
- 3.4.16
- 3.5.1
stable: [true]
include:
- crystal: nightly
stable: false
etcd: 3.4.16
- crystal: nightly
stable: false
etcd: 3.5.1
runs-on: ubuntu-latest
services:
etcd:
image: bitnami/etcd:${{ matrix.etcd }}
ports:
- 2379:2379
- 2380:2380
env:
ALLOW_NONE_AUTHENTICATION: "yes"
steps:
- uses: crystal-lang/[email protected]
with:
crystal: ${{ matrix.crystal }}
- uses: actions/checkout@v2
- run: shards install
- run: crystal spec --order random