chore(deps): bump github.com/getkin/kin-openapi in /cmd/osgen (#1061) #4236
This file contains hidden or 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: Unit | |
| on: [push, pull_request] | |
| env: | |
| GITHUB_ACTIONS: true | |
| jobs: | |
| test: | |
| name: "Tests (${{ matrix.os }})" | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6 | |
| - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 | |
| with: { go-version-file: 'go.mod' } | |
| - run: go version | |
| - run: make test-unit race=true | |
| if: matrix.os != 'ubuntu-latest' | |
| - run: make test-unit race=true coverage=true | |
| if: matrix.os == 'ubuntu-latest' | |
| - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: tmp/unit.cov,tmp/osgen.cov | |
| flags: unit | |
| if: matrix.os == 'ubuntu-latest' | |
| bench: | |
| name: Benchmarks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6 | |
| - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 | |
| with: { go-version-file: 'go.mod' } | |
| - run: go version | |
| - run: make test-bench |