Skip to content

Commit

Permalink
Merge pull request #129 from v0ctor/update-go-to-1.18
Browse files Browse the repository at this point in the history
Update Go to 1.18
  • Loading branch information
awlx authored Apr 24, 2022
2 parents dcaf39f + 1364fe6 commit d13e922
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ["1.15.x", "1.17.x"]
go: ["1.17.x", "1.18.x"]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.DS_Store
.gobincache/
.DS_Store
.gobincache/

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
deps:
go mod download
GO111MODULE=off go get -u github.com/myitcv/gobin
go install github.com/go-swagger/go-swagger/cmd/swagger@latest

generate: deps
gobin -m -run github.com/go-swagger/go-swagger/cmd/swagger generate client --copyright-file=copyright_header.txt
swagger generate client --target=./netbox --copyright-file=copyright_header.txt

clean:
rm -rf netbox/client netbox/models
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/netbox-community/go-netbox

go 1.16
go 1.18

require (
github.com/go-openapi/errors v0.20.1
Expand Down

0 comments on commit d13e922

Please sign in to comment.