Merge pull request #1882 from gofiber/dependabot/go_modules/v3/sentry… #134
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: "Test swaggo" | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| paths: | |
| - 'v3/swaggo/**/*.go' | |
| - 'v3/swaggo/go.mod' | |
| - 'v3/swaggo/go.sum' | |
| pull_request: | |
| paths: | |
| - 'v3/swaggo/**/*.go' | |
| - 'v3/swaggo/go.mod' | |
| - 'v3/swaggo/go.sum' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| Tests: | |
| runs-on: ubuntu-latest | |
| env: | |
| GOWORK: off | |
| strategy: | |
| matrix: | |
| go-version: | |
| - 1.25.x | |
| steps: | |
| - name: Fetch Repository | |
| uses: actions/checkout@v6 | |
| - name: Install Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '${{ matrix.go-version }}' | |
| - name: Run Test | |
| working-directory: ./v3/swaggo | |
| run: go test -v -race ./... |