-
Notifications
You must be signed in to change notification settings - Fork 13
55 lines (42 loc) · 1.06 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
45
46
47
48
49
50
51
52
53
54
55
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: CI
strategy:
matrix:
platform: [ ubuntu-latest ]
go-version: [ 1.23.x ]
runs-on: ${{ matrix.platform }}
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Install Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
- name: Build
run: make build
- name: Unit Tests
run: make unit
- name: Start Regtest
env:
COMPOSE_PROFILES: ci
run: make download-regtest && chmod -R 777 regtest && make start-regtest
- name: Backend logs
if: failure()
run: docker logs boltz-backend
- name: Integration Tests
run: make integration
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: "latest"