Skip to content

Commit

Permalink
[ci] fix java opts not passing to fork process issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Avimitin committed Feb 7, 2025
1 parent 67ec145 commit 7bd9909
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: "Check Scala code format"
run: nix run ".#t1.elaborator.format" check
run: |
echo "$JAVA_OPTS" | tr ' ' '\n' > "$HOME/.mill-java-opts"
export MILL_JVM_OPTS_PATH="$HOME/.mill-java-opts"
nix run ".#t1.elaborator.format" check
- name: "Check difftest code format"
run: |
nix shell '.#cargo' '.#rustfmt' -c bash -c 'cd difftest && cargo fmt --check'
Expand Down

0 comments on commit 7bd9909

Please sign in to comment.