Bump github.com/getkin/kin-openapi from 0.22.1 to 0.128.0 #834
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
name: Go tests | |
on: | |
- push | |
- pull_request | |
jobs: | |
gotests: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
go-version: | |
- "1.20" | |
- "1.21" | |
name: Tests for Go ${{ matrix.go-version}} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Unit tests | |
run: env | |
- name: Retrieve code coverage | |
run: go test -coverprofile coverage.out $(go list ./... | grep -v tests) | |
- name: Display code coverage | |
run: go tool cover -func=coverage.out |