Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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