Skip to content

Commit 3a5a22b

Browse files
authored
Merge pull request #114 from berty/d4ryl00/fix/lifecycle
fix: close of stores
2 parents b503985 + 4f24a13 commit 3a5a22b

File tree

16 files changed

+531
-457
lines changed

16 files changed

+531
-457
lines changed

.github/workflows/go.yml

+17-12
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,24 @@ jobs:
1616
golang:
1717
- 1.18.x
1818
steps:
19-
- uses: actions/checkout@v3
20-
- name: Set up Go
21-
uses: actions/setup-go@v2
22-
with:
23-
go-version: ${{ matrix.golang }}
24-
- name: golangci-lint
25-
uses: golangci/[email protected]
26-
with:
27-
go-version: ${{ matrix.golang }}
28-
version: v1.50.1
29-
args: --timeout=10m
30-
# only-new-issues: true
19+
- name: Checkout
20+
uses: actions/checkout@v3
21+
22+
- name: Setup asdf
23+
uses: asdf-vm/actions/setup@v1
24+
25+
- name: Setup golang
26+
run: |
27+
asdf plugin add golang
28+
asdf install golang
29+
30+
- name: Setup golangci-lint
31+
run: |
32+
asdf plugin add golangci-lint
33+
asdf install golangci-lint
3134
35+
- name: Run golangci-lint
36+
run: make lint
3237

3338
go-tests-on-linux:
3439
runs-on: ubuntu-latest

.tool-versions

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
golang 1.18
2+
golangci-lint 1.50.1

baseorbitdb/events.go

-18
This file was deleted.

baseorbitdb/events_handler.go

-72
This file was deleted.

0 commit comments

Comments
 (0)