Skip to content

Bump github.com/getkin/kin-openapi from 0.119.0 to 0.120.0 #2125

Bump github.com/getkin/kin-openapi from 0.119.0 to 0.120.0

Bump github.com/getkin/kin-openapi from 0.119.0 to 0.120.0 #2125

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
ci:
strategy:
fail-fast: true
matrix:
go: ['1.20', '1.21']
os: ['ubuntu-latest', 'windows-latest']
runs-on: ${{ matrix.os }}
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Extract branch name
run: echo "::set-output name=branch::$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- name: Add $GOPATH/bin to PATH
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
id: setup_path
- name: Build
run: make ci
env:
GOA_BRANCH: ${{ steps.extract_branch.outputs.branch }}
- name: Report test-coverage to DeepSource
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
curl https://deepsource.io/cli | sh
./bin/deepsource report --analyzer test-coverage --key go --value-file ./cover.out
env:
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}