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

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

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 15 May 2025 05:21PM 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

15 May 2025 05:20PM UTC coverage: 94.136%. Remained the same
15051256490

push

github

pires
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

899 of 955 relevant lines covered (94.14%)

50.51 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Go-1.24 - 15051256490.1 15 May 2025 05:21PM UTC 8
94.14
GitHub Action Run
2 Go-1.23 - 15051256490.2 15 May 2025 05:21PM UTC 8
94.14
GitHub Action Run
Source Files on build 15051256490
  • Tree
  • List 8
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • eef9d7ef on github
  • Prev Build on 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