• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pires / go-proxyproto / 14997855089
94%
master: 95%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 13 May 2025 11:51PM UTC
Jobs 2
Files 8
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 May 2025 01:26PM UTC coverage: 94.136%. Remained the same
14997855089

Pull #127

github

gustavosbarreto
ci: use local Go toolchain and downgrade Go version

The GitHub Actions workflow defines:

```yaml
strategy:
  matrix:
    go: ['1.23', '1.24']
```

However, the `1.23` job still ends up running Go `1.24`. By default,
`actions/setup-go` leaves `GOTOOLCHAIN=auto`, causing go itself to fetch the
version specified in `go.mod` instead instead of sticking to exactly `1.23`.

This led to a false positive in CI: it appeared as if the matrix was testing
Go `1.23`, when in reality all jobs were using Go `1.24`.

To fix this, we need to force the use of the local Go toolchain in the CI test
workflow to ensure the use of the locally installed Go version and avoid
automatic downloads by `setup-go`.

Also downgrades the Go version in `go.mod` from `1.24` to `1.23` to ensure
compatibility with environments that do not yet support Go `1.24`.

Fixes #126
Pull Request #127: ci: use local Go toolchain and downgrade Go version

899 of 955 relevant lines covered (94.14%)

50.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go-1.23 - 14997855089.1 13 May 2025 11:50PM UTC 8
94.14
GitHub Action Run
2 Go-1.24 - 14997855089.2 13 May 2025 11:51PM UTC 8
94.14
GitHub Action Run
Source Files on build 14997855089
  • Tree
  • List 8
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #127
  • PR Base - main (#14803279341)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc