Skip to content

Commit

Permalink
Run check formatted in test so patch assertions work
Browse files Browse the repository at this point in the history
  • Loading branch information
scohen committed Jan 19, 2023
1 parent b23a87d commit 5531018
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,6 @@ jobs:
mix deps.get
- name: Restore timestamps to prevent unnecessary recompilation
run: IFS=$'\n'; for f in $(git ls-files); do touch -d "$(git log -n 1 --pretty='%cI' -- $f)" "$f"; done
- run: mix format --check-formatted
- run: MIX_ENV=test mix format --check-formatted
- run: cd apps/language_server && mix format --check-formatted
- run: mix dialyzer_vendored
2 changes: 1 addition & 1 deletion apps/language_server/.formatter.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ impossible_to_format = [
]

deps =
if Mix.env() in [:dev, :test] do
if Mix.env() == :test do
[:patch]
else
[]
Expand Down

0 comments on commit 5531018

Please sign in to comment.