Skip to content

Conversation

@grunweg
Copy link
Contributor

@grunweg grunweg commented Jun 4, 2025

@pitmonticone I'm interested if you have any comments here. (No worries, this is not urgent.)

@grunweg
Copy link
Contributor Author

grunweg commented Jun 4, 2025

This doesn't work yet: the workflow step needs to install lake first.

@kbuzzard
Copy link
Collaborator

kbuzzard commented Jun 7, 2025

Yeah I've been running shake manually every week or two -- this would be welcome, if you can figure out how to make it work! At my end it is also not urgent :-)

@azide0x37
Copy link

claim 😉

https://github.com/azide0x37/FLT/pull/1/files

with.run doesn't use the shell, invoking specifically works.

Could also add step ahead of lake invocations:

- name: Make lake available on PATH
  run: echo "$HOME/.elan/bin" >> "$GITHUB_PATH"

Which allows lake syntax below when using env:

- name: check for unused imports
  id: shake
  uses: leanprover-community/gh-problem-matcher-wrap@20007cb926a46aa324653a387363b52f07709845
  env:
    LEAN_ABORT_ON_PANIC: "1"
  with:
    linters: gcc
    run: lake exe shake --gh-style

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants