-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #157 from netbox-community/feature/openapi-generator
[WIP] Replace "go-swagger" by "openapi-generator"
- Loading branch information
Showing
3,827 changed files
with
1,008,475 additions
and
769,247 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,33 +13,24 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
go: ["1.20", "1.19"] | ||
go: ["1.21", "1.20"] | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: License check | ||
run: ./scripts/license-check.sh | ||
uses: actions/[email protected] | ||
|
||
- name: Go installation | ||
uses: actions/setup-go@v3.5.0 | ||
uses: actions/setup-go@v5.0.0 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
|
||
- name: Go dependencies installation | ||
run: go get -d ./... | ||
|
||
- name: Golint installation | ||
run: go get -u golang.org/x/lint/golint | ||
|
||
- name: Build | ||
run: go build ./... | ||
|
||
- name: Lint | ||
run: ./scripts/golint.sh | ||
- name: Test | ||
run: go test ./... | ||
|
||
- name: Vet | ||
run: go vet ./... | ||
|
||
- name: Test | ||
run: go test -v ./... |
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3.3.0 | ||
uses: actions/checkout@v4.1.1 | ||
|
||
- name: Release | ||
uses: softprops/[email protected] | ||
|
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,3 +1,2 @@ | ||
.DS_Store | ||
.env | ||
.gobincache/ | ||
/.env |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Already part of the project | ||
/.gitignore | ||
/api/openapi.yaml | ||
/README.md | ||
|
||
# Unwanted | ||
/.travis.yml | ||
/git_push.sh |
Oops, something went wrong.