Skip to content

Commit d13e922

Browse files
authored
Merge pull request #129 from v0ctor/update-go-to-1.18
Update Go to 1.18
2 parents dcaf39f + 1364fe6 commit d13e922

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
go: ["1.15.x", "1.17.x"]
16+
go: ["1.17.x", "1.18.x"]
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v2

.gitignore

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
.DS_Store
2-
.gobincache/
1+
.DS_Store
2+
.gobincache/
3+

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
deps:
22
go mod download
3-
GO111MODULE=off go get -u github.com/myitcv/gobin
3+
go install github.com/go-swagger/go-swagger/cmd/swagger@latest
44

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

88
clean:
99
rm -rf netbox/client netbox/models

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/netbox-community/go-netbox
22

3-
go 1.16
3+
go 1.18
44

55
require (
66
github.com/go-openapi/errors v0.20.1

0 commit comments

Comments
 (0)