air icon indicating copy to clipboard operation
air copied to clipboard

Go 1.24.1 support

Open shrutsureja opened this issue 9 months ago • 2 comments

Hey, We recently upgraded our project to 1.24.1 and now cannot use the cosmtrek/air image (built on 1.23) any more.

Do you plan to publish a 1.24 based Docker image any time soon?

I found this PR to do exactly that, though: https://github.com/air-verse/air/pull/740

Image

Thank you 😄

shrutsureja avatar Mar 20 '25 07:03 shrutsureja

Same issue here! Is there any way we can help to make it happen?

arochadaniel avatar May 08 '25 08:05 arochadaniel

Just set GOTOOLCHAIN=auto (e.g. docker run -e GOTOOLCHAIN=auto cosmtrek/air:v1.61.7) and it should download the newer toolchain accordingly to go.mod (https://go.dev/doc/toolchain#download).

Kichiyaki avatar May 24 '25 09:05 Kichiyaki

see https://github.com/air-verse/air/issues/790#issuecomment-3511706963

xiantang avatar Nov 10 '25 14:11 xiantang