chore(deps): update go-openapi packages to v1 #17868
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: ci | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| check-links: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| fetch-depth: 0 | |
| - uses: lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # v2.9.0 | |
| id: lychee | |
| with: | |
| args: >- | |
| -v -n "*.md" "**/*.md" | |
| --exclude "https://ingest.us0.signalfx.com.*" | |
| --exclude "http://localhost*" | |
| - name: fail for link errors | |
| run: exit ${{ steps.lychee.outputs.exit_code }} | |
| goyek: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - os: ubuntu-24.04 | |
| run-script: ./goyek.sh ci -v | |
| - os: windows-2022 | |
| run-script: .\goyek.ps1 ci -v -skip-docker | |
| - os: macos-14 | |
| run-script: ./goyek.sh ci -v -skip-docker | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 | |
| with: | |
| go-version: '1.26' | |
| check-latest: true | |
| - run: ${{ matrix.run-script }} | |
| - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| fail_ci_if_error: true | |
| files: ./coverage.out | |
| flags: ${{ runner.os }} | |
| compatibility-test: | |
| strategy: | |
| matrix: | |
| go-version: | |
| - '1.25' | |
| - '1.26' | |
| os: [ubuntu-24.04, windows-2022, macos-14] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| - uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| check-latest: true | |
| - run: make test-short | |
| compatibility-check: | |
| runs-on: ubuntu-24.04 | |
| if: ${{ always() }} | |
| needs: [compatibility-test, goyek] | |
| steps: | |
| - name: Test if compatibility-test passed | |
| run: | | |
| echo compatibility-test = ${{ needs.compatibility-test.result }} | |
| test ${{ needs.compatibility-test.result }} == "success" | |
| echo goyek = ${{ needs.goyek.result }} | |
| test ${{ needs.goyek.result }} == "success" |