mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
fix: go get binary path
This commit is contained in:
parent
ba1342cbc3
commit
2d08747722
9
.github/workflows/go.yml
vendored
9
.github/workflows/go.yml
vendored
|
@ -44,18 +44,21 @@ jobs:
|
|||
# auto-start: "false"
|
||||
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.18
|
||||
|
||||
- name: Run pre-commit
|
||||
run: |
|
||||
pip install pre-commit
|
||||
go get -v -u github.com/go-critic/go-critic/cmd/gocritic
|
||||
pre-commit install-hooks
|
||||
pre-commit run markdownlint --files=README.md --verbose
|
||||
pre-commit run go-fmt --all-files --verbose
|
||||
pre-commit run go-critic --all-files --verbose
|
||||
|
||||
- name: CI Lint
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: v1.46.2
|
||||
|
||||
- name: Install Migration Tool
|
||||
run: go install github.com/c9s/rockhopper/cmd/rockhopper@v1.2.1
|
||||
|
|
|
@ -18,4 +18,3 @@ repos:
|
|||
hooks:
|
||||
- id: go-fmt
|
||||
args: ['-l']
|
||||
- id: go-critic
|
||||
|
|
Loading…
Reference in New Issue
Block a user