Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/test-subprojects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,23 @@ jobs:
working-directory: ${{ matrix.project.name }}
run: mix deps.get

- name: Force a PLT re-check
- name: Re-check the PLT against bb's current source
# Dialyxir decides a cached PLT is current by hashing the subproject's
# mix.lock plus its app list. `BB_VERSION=local` makes bb a path dep, so
# bb's source moves on every PR while that lock sits still — the hash
# matches, the check is skipped, and dialyzer runs against a PLT that
# predates bb's newest exports, reporting `call_to_missing` for them.
# Dropping the hash forces the check, which is incremental (seconds)
# rather than a full rebuild.
#
# Run the check here rather than leaving it to `mix check`. It spends
# twenty seconds or so reading every beam in the build directory, and
# `mix check` runs its tools in parallel — a tool that recompiles that
# directory meanwhile can empty it under dialyzer's feet.
working-directory: ${{ matrix.project.name }}
run: rm -f _build/*/*.plt.hash
run: |
rm -f _build/*/*.plt.hash
mix dialyzer --plt

- name: mix check --no-retry
working-directory: ${{ matrix.project.name }}
Expand Down
2 changes: 1 addition & 1 deletion documentation/dsls/DSL-BB.md
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ The material of the visual element
### topology.link.visual.material.color


The color of the meterial
The color of the material



Expand Down
2 changes: 1 addition & 1 deletion lib/bb/dsl.ex
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ defmodule BB.Dsl do
@color %Entity{
name: :color,
describe: """
The color of the meterial
The color of the material
""",
target: BB.Dsl.Color,
identifier: {:auto, :unique_integer},
Expand Down
Loading