Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace "go-swagger" by "openapi-generator" #157

Merged
merged 15 commits into from
Jan 18, 2024
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
19 changes: 5 additions & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
.DS_Store
.env
.gobincache/
/.env
8 changes: 8 additions & 0 deletions .openapi-generator-ignore
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
Loading