Releases: leanprover/lean-action
Releases · leanprover/lean-action
v1.3.0
Added
- Add a step to check all files in the default target's directory are imported in the main file by running
lake exe mk_all --check. - Add
mk_all-checkinput to enable the mk_all step andmk_all-statusto use the result.
v1.2.0
v1.1.2
Fixed
- include runner architecture in cache key to avoid reusing
.lakeacross different runner architectures
v1.1.1
Fixed
- fix bug with passing multiple arguments to
lake buildviabuild-argsinput - fix false feature flag logic when using
auto-config: true
v1.1.0
Added
- Windows GitHub runner support
Fixed
- replace
actions/cachewithactions/cache/restoreto prevent redundant cache saving
previously caused by the combination ofactions/cacheandactions/cache/save
v1.0.2
Changed
- use empty string as default value for status outputs instead of "NOT_RUN"
to avoidset-output-parametersfinal 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-parametersstep and removing the end log group command when a step fails
v1.0.1
Changed
- use
lake-manifest.jsonto detectmathlibdependency instead oflakefile.{lean, toml}to makelean-actionmore 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-configinput to specify iflean-actionshould use the Lake workspace to automatically determine which CI features to run, i.e.,lake build,lake test,lake lint. - new
buildinput to specify iflean-actionshould runlake build. - new
lintinput to specify iflean-actionshould runlake lint. - parameterize functional tests by Lean toolchain to allow for testing
lean-actionon any Lean version.
Changed
testinput now defaults toauto-config. Users can still specifytest: trueto forcelean-actionto runlake test.- removed
lint-moduleinput. Users should now use a@[lint_driver]to integrate with theBatteriestesting 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-cacheinput to specify iflean-actionshould useactions/cacheto cache the.lakefolder build-statusandtest-statusoutput parameters- new
lake-package-directoryinput to specify the directory to run Lake commands.
This input will enable users to uselean-actionwhen Lake packages are contained in repository subdirectories.
Changed
- upgrade elan version to
v3.1.1 - run
lake check-testbefore 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-initfile after elan installation
v1-beta.0
v1-beta - 2024-05-21
Added
- logs are grouped by step for better readability
- new
build-argsinput to specify arguments to pass tolake build - install elan step logs
lean --versionandlake --version
Changed
lean-actionno longer contains anactions/checkoutstepmathlib-cacherenamed toget-mathlib-cache
Fixed
- improved default value for
get-mathlib-cache