There are lots of cool things on the main branch of Gleam, which haven't been released yet, and so I like to use nightly to develop my Gleam projects. However, when I use a feature that hasn't been released yet in my code, CI breaks because it has no idea how to process those features. Is there a way I can use Gleam nightly on CI so that I get the nice upcoming features while still automatically running tests etc?
#Using nightly on CI
1 messages · Page 1 of 1 (latest)
This would be great to have, I've used RC builds in CI on several occasions. Are official nightly builds available anywhere? The release.yaml workflow is only run on version tags.
The GitHub Action seems to reference nightly, have you tried specifying it?
The latest nightly build output is here: https://github.com/gleam-lang/gleam/actions/runs/11991877900
Ah yes! Do you know how I could use it in my workflow file?
The build was uploaded here: https://github.com/gleam-lang/gleam/releases/download/nightly/gleam-nightly-x86_64-unknown-linux-musl.tar.gz
What happens when you specify the gleam-version as nightly?
This error: