Resolve min as the earliest compatible Julia version (compatible with the user's project) (#202)

* Support the special version "MIN"

* Support JULIA_PROJECT

* Add tests

* Add forgotten test fixtures

* Get latest prerelease/release

* No special pre-release behaviour

* Add test for NPM semver difference

* Robust test suite

* Disallow less-than-equal

* Refactor validJuliaCompatRange to return a validRange

* Rename MIN to min

* Rename getProjectFile to getProjectFilePath

* Comment on "project" input

* Additional tests for getProjectFilePath

* Add comment on `juliaCompatRange`

Co-authored-by: Dilum Aluthge <dilum@aluthge.com>

* Update dependencies

---------

Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
This commit is contained in:
Curtis Vogt
2024-08-30 10:58:16 -05:00
committed by GitHub
parent b83c8a20db
commit 014c323ee0
13 changed files with 1483 additions and 3831 deletions

View File

@@ -26,7 +26,8 @@
"@actions/io": "^1.1.3",
"@actions/tool-cache": "^2.0.1",
"async-retry": "^1.3.3",
"semver": "^7.6.3"
"semver": "^7.6.3",
"toml": "^3.0.0"
},
"devDependencies": {
"@types/async-retry": "^1.4.8",