Merge pull request #1764 from gofiber/dependabot/go_modules/v3/casbin… #250
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 CircuitBreaker" | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| paths: | |
| - 'v3/circuitbreaker/**/*.go' | |
| - 'v3/circuitbreaker/go.mod' | |
| pull_request: | |
| paths: | |
| - 'v3/circuitbreaker/**/*.go' | |
| - 'v3/circuitbreaker/go.mod' | |
| workflow_dispatch: | |
| jobs: | |
| Tests: | |
| runs-on: ubuntu-latest | |
| 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/circuitbreaker | |
| run: go test -v -race ./... |