railwayapp / nixpacks

App source + Nix packages + Docker = Image
https://nixpacks.com
MIT License
2.47k stars 232 forks source link

Go and PHP language versions #974

Open christi-kinsta opened 11 months ago

christi-kinsta commented 11 months ago

Is there an existing issue for this?

Describe the bug

There are a couple of languages with issues when trying to set the language version.

Go

Docs and code indicate Go should only work with versions 17 and 18, and that 17 should be the default.

Testing shows otherwise, with only 1.18 and 1.19 being available and 1.19 being the default:

PHP

Docs indicate PHP should only work with 8.0, 8.1, and 8.2; with 8.2 as the default. Code seems to indicate the available versions are: 7.4, 8.0, 8.1, and 8.2; with 8.2 as the default.

Testing shows otherwise, with 7.4 deprecated and 8.1 being the default:

To reproduce

Create applications with each of the languages and versions described, then check the version of the language used.

Expected behavior

Expected documentation and Nixpacks code to agree.

Environment

Tested on Railway.

dush-t commented 8 months ago

Is this still up, and is anyone working on this? If its free to work on, would like to take this up :)