Releases: leanprover/lean-action
Releases · leanprover/lean-action
v1.1.0
v1.0.2
Changed
- use empty string as default value for status outputs instead of "NOT_RUN"
to avoidset-output-parameters
final step breaking log group expansion
Fixed
- correct typo of in configuration step: "lake check-test failed" -> "lake check-lint failed"
- fix log group expansion in failing steps due to
set-output-parameters
step and removing the end log group command when a step fails
v1.0.1
Changed
- use
lake-manifest.json
to detectmathlib
dependency instead oflakefile.{lean, toml}
to makelean-action
more robust to changes in the configuration file formatting.
Fixed
- switch elan installation method from download platform tar to elan-init.sh to support addition runners, e.g., macos.
v1.0.0
v1.0.0 - 2024-07-20
Added
- new
auto-config
input to specify iflean-action
should use the Lake workspace to automatically determine which CI features to run, i.e.,lake build
,lake test
,lake lint
. - new
build
input to specify iflean-action
should runlake build
. - new
lint
input to specify iflean-action
should runlake lint
. - parameterize functional tests by Lean toolchain to allow for testing
lean-action
on any Lean version.
Changed
test
input now defaults toauto-config
. Users can still specifytest: true
to forcelean-action
to runlake test
.- removed
lint-module
input. Users should now use a@[lint_driver]
to integrate with theBatteries
testing framework.
Fixed
- improved GitHub cache keys to make caching more efficient and avoid edge cases when upgrading Lean version.
v1-beta.1
v1-beta.1 - 2024-06-21
Added
- new
use-github-cache
input to specify iflean-action
should useactions/cache
to cache the.lake
folder build-status
andtest-status
output parameters- new
lake-package-directory
input to specify the directory to run Lake commands.
This input will enable users to uselean-action
when Lake packages are contained in repository subdirectories.
Changed
- upgrade elan version to
v3.1.1
- run
lake check-test
before runninglake test
- improved log readability with explicit log group naming and additional white space
Fixed
- remove misleading .toml error message in mathlib detection
- remove
elan-init
file after elan installation
v1-beta.0
v1-beta - 2024-05-21
Added
- logs are grouped by step for better readability
- new
build-args
input to specify arguments to pass tolake build
- install elan step logs
lean --version
andlake --version
Changed
lean-action
no longer contains anactions/checkout
stepmathlib-cache
renamed toget-mathlib-cache
Fixed
- improved default value for
get-mathlib-cache
v1-alpha
Initial alpha release to get user feedback on initial set of features.
For best results, Lean projects must use at version v4.8.0-rc1
or later.
See README.md for usage examples
Added
- build packages with
lake build
- run tests with
lake test
- automatically detect
mathlib
dependency and runlake exe get cache
- detect Reservoir eligibility
- check for environment hacking with lean4checker