File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 9
9
basic-checks :
10
10
name : Basic Checks
11
11
runs-on : ubuntu-latest
12
+ env :
13
+ GOLANGCI_LINT_VERSION : v1.61.0
12
14
13
15
steps :
14
16
- uses : actions/checkout@v4
17
19
with :
18
20
go-version : ^1.22
19
21
20
- - name : Check lint
21
- run : go fmt ./...
22
+ - run : go install github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION}
23
+ - name : Run golangci-lint
24
+ run : make lint
22
25
23
26
- name : Run unit tests
24
27
run : go test -v ./...
36
39
go-version : ^1.22
37
40
38
41
- name : Run Integration Tests
39
- run : cd tests && go test -v ./...
42
+ env :
43
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
44
+ run : go test -v ./... -tags=integration
40
45
41
46
build :
42
47
name : Build Go binaries
Original file line number Diff line number Diff line change @@ -70,7 +70,9 @@ release:
70
70
fi
71
71
git tag -a $(release_version ) -m " $( release_version) "
72
72
git push origin $(release_version )
73
- gh release create $(release_version ) --title " $( release_version) " --notes " Release notes for version $( release_version) "
73
+ @echo " Paste the release notes below (end with Ctrl+D):"
74
+ @notes=$$(cat ) ; \
75
+ gh release create $(release_version ) --title " $( release_version) " --notes " $$ notes"
74
76
75
77
# Development purpose
76
78
local : build
You can’t perform that action at this time.
0 commit comments