Skip to content

Commit 8d4587b

Browse files
authored
chore: enhance CI (#331)
1 parent 2a2162e commit 8d4587b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/golangci-lint.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,15 @@ jobs:
66
name: lint
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/setup-go@v3
10+
with:
11+
go-version: '1.17'
12+
- uses: actions/checkout@v3
1013
- name: golangci-lint
11-
uses: golangci/golangci-lint-action@v2
14+
uses: golangci/golangci-lint-action@v3
1215
with:
13-
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
14-
version: v1.49
16+
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
17+
version: v1.29
1518

1619
# Optional: working directory, useful for monorepos
1720
# working-directory: somedir

tests/merge.bats

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ setup_file() {
2626
}
2727

2828
teardown_file() {
29+
rm *_profile_listen_addr
2930
kill -9 $GOC_PID
3031
}
3132

0 commit comments

Comments
 (0)