🐛 fix: restore strict overflow check in float parser #667
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
| on: | |
| push: | |
| branches: | |
| - master | |
| - main | |
| paths: | |
| - "**" | |
| - "!docs/**" | |
| - "!**.md" | |
| pull_request: | |
| paths: | |
| - "**" | |
| - "!docs/**" | |
| - "!**.md" | |
| name: Test | |
| permissions: | |
| contents: read | |
| jobs: | |
| Build: | |
| strategy: | |
| matrix: | |
| go-version: [1.24.x, 1.25.x] | |
| platform: [ubuntu-latest, windows-latest, macos-latest] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - name: Fetch Repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Install Go | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Install gotestsum | |
| run: go install gotest.tools/gotestsum@v1.13.0 | |
| - name: Test | |
| run: gotestsum -f testname -- ./... -race -count=1 -shuffle=on | |
| - name: Test | |
| run: gotestsum -f testname -- ./... -race -count=1 -coverprofile=coverage.txt -covermode=atomic -shuffle=on | |
| - name: Upload coverage reports to Codecov | |
| if: ${{ matrix.platform == 'ubuntu-latest' && matrix.go-version == '1.25.x' }} | |
| uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: ./coverage.txt | |
| flags: unittests | |
| slug: gofiber/utils |