build(deps): bump the go-openapi-dependencies group across 1 directory with 5 updates #103
Workflow file for this run
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: unsafe-skipauth test | |
| permissions: | |
| pull-requests: read | |
| contents: read | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| jobs: | |
| unsafe-skipauth-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| go-version: [stable, oldstable] | |
| steps: | |
| - | |
| name: Checkout | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - | |
| name: Setup Go | |
| uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - | |
| name: Test the dev-mode SetSkipAuth path | |
| run: > | |
| go test -tags openapi_unsafe_skipauth -race -count=1 | |
| -coverprofile='skipauth.coverage.ubuntu-latest-${{ matrix.go-version }}.out' | |
| -covermode=atomic | |
| -coverpkg='github.com/go-openapi/runtime/middleware' | |
| ./middleware/... | |
| - | |
| name: Upload coverage artifacts | |
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | |
| with: | |
| path: 'skipauth.coverage.ubuntu-latest-${{ matrix.go-version }}.out' | |
| name: 'skipauth.coverage.ubuntu-latest-${{ matrix.go-version }}' | |
| retention-days: 1 | |
| collect-coverage: | |
| needs: [unsafe-skipauth-test] | |
| if: ${{ !cancelled() && needs.unsafe-skipauth-test.result == 'success' }} | |
| uses: go-openapi/ci-workflows/.github/workflows/collect-coverage.yml@81c95ab8bb6a3e0aeccc90a7c9e5fc5b398b1244 # v0.6.0 | |
| secrets: inherit |