-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependencies including Go version and actions (#13)
* Update deps and fix new staticcheck linting error * Update actions
- Loading branch information
1 parent
ec8e984
commit f46a674
Showing
7 changed files
with
24 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,26 +16,23 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
go-version: | ||
- 1.17 | ||
- 1.13 | ||
- '1.21' | ||
- '1.20' | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
check-latest: true | ||
- name: Set up Staticcheck | ||
run: go install honnef.co/go/tools/cmd/staticcheck@latest | ||
if: ${{ matrix.go-version != '1.13' }} | ||
- name: Set up Staticcheck (Go v1.13) | ||
run: GO111MODULE=on go get -u honnef.co/go/tools/cmd/[email protected] | ||
if: ${{ matrix.go-version == '1.13' }} | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
- name: Vet | ||
run: go vet -v ./... | ||
- name: Staticcheck | ||
run: staticcheck ./... | ||
- name: Build | ||
run: go build -v ./... | ||
- name: Test | ||
run: go test -v -cover ./... | ||
run: go test -v -cover -race -count=3 ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
module github.com/joeycumines/go-behaviortree | ||
|
||
go 1.13 | ||
go 1.20 | ||
|
||
require ( | ||
github.com/go-test/deep v1.1.0 | ||
github.com/joeycumines/go-bigbuff v1.15.0 | ||
github.com/xlab/treeprint v1.1.0 | ||
github.com/joeycumines/go-bigbuff v1.15.1 | ||
github.com/xlab/treeprint v1.2.0 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters