github.com/gofiber/fiber/v2@v2.47.0/.github/workflows/test.yml (about) 1 on: 2 push: 3 branches: 4 - master 5 - main 6 paths: 7 - '**' 8 - '!docs/**' 9 - '!**.md' 10 pull_request: 11 paths: 12 - '**' 13 - '!docs/**' 14 - '!**.md' 15 name: Test 16 jobs: 17 Build: 18 strategy: 19 matrix: 20 go-version: [1.17.x, 1.18.x, 1.19.x, 1.20.x] 21 platform: [ubuntu-latest, windows-latest, macos-latest] 22 runs-on: ${{ matrix.platform }} 23 steps: 24 - name: Fetch Repository 25 uses: actions/checkout@v3 26 - name: Install Go 27 uses: actions/setup-go@v4 28 with: 29 go-version: ${{ matrix.go-version }} 30 - name: Run Test 31 uses: nick-fields/retry@v2 32 with: 33 max_attempts: 3 34 timeout_minutes: 15 35 command: go test ./... -v -race -count=1