fix bug with float32 and float64 overflowing integers #30
Workflow file for this run
This file contains 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: CI | |
on: | |
pull_request: | |
jobs: | |
ci-lint: | |
runs-on: ubuntu-latest | |
strategy: | |
# if one fails continues running the others | |
fail-fast: false | |
steps: | |
- name: checkout-action | |
uses: actions/checkout@v4.1.7 | |
- name: yamllint | |
uses: ibiqlik/action-yamllint@v3 | |
- name: typos-action | |
uses: crate-ci/typos@v1.24.5 | |
- name: markdownlint-cli2-action | |
uses: DavidAnson/markdownlint-cli2-action@v16.0.0 | |
- name: editorconfig-checker-action | |
uses: editorconfig-checker/action-editorconfig-checker@v2 | |
go-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout-action | |
uses: actions/checkout@v4.1.7 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
- name: Run tests | |
run: go test -coverprofile=coverage.txt | |
- name: Upload results to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Code Climate Coverage Action | |
uses: paambaati/codeclimate-action@v9 | |
env: | |
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_REPORTER_ID }} | |
with: | |
coverageLocations: coverage.txt:gocov | |
prefix: github.com/ccoveille/go-safecast | |
- name: Launch golangci-lint | |
uses: golangci/golangci-lint-action@v6.1.0 |