Skip to content

Commit

Permalink
chore: enhance CI (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlJi authored Mar 19, 2023
1 parent 2a2162e commit 8d4587b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
with:
go-version: '1.17'
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.49
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.29

# Optional: working directory, useful for monorepos
# working-directory: somedir
Expand Down
1 change: 1 addition & 0 deletions tests/merge.bats
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ setup_file() {
}

teardown_file() {
rm *_profile_listen_addr
kill -9 $GOC_PID
}

Expand Down

0 comments on commit 8d4587b

Please sign in to comment.