Clarify formatting and cycles versions

This commit is contained in:
Mark Felder 2024-01-21 04:14:41 +00:00
parent 8f0051d739
commit 518ddd458c

View File

@ -186,9 +186,9 @@ unit-testing-1.12-rum:
- "mix ecto.migrate --migrations-path priv/repo/optional_migrations/rum_indexing/" - "mix ecto.migrate --migrations-path priv/repo/optional_migrations/rum_indexing/"
- mix test --preload-modules - mix test --preload-modules
formatting: formatting-1.13:
extends: .build_changes_policy extends: .build_changes_policy
image: &current_elixir elixir:1.13-alpine image: &formatting_elixir elixir:1.13-alpine
stage: lint stage: lint
cache: *testing_cache_policy cache: *testing_cache_policy
before_script: &current_bfr_script before_script: &current_bfr_script
@ -200,6 +200,16 @@ formatting:
script: script:
- mix format --check-formatted - mix format --check-formatted
cycles-1.13:
extends: .build_changes_policy
image: *formatting_elixir
stage: lint
cache: {}
before_script: *current_bfr_script
script:
- mix compile
- mix xref graph --format cycles --label compile | awk '{print $0} END{exit ($0 != "No cycles found")}'
analysis: analysis:
extends: extends:
- .build_changes_policy - .build_changes_policy
@ -222,16 +232,6 @@ dialyzer:
script: script:
- mix dialyzer - mix dialyzer
cycles:
extends: .build_changes_policy
image: *current_elixir
stage: lint
cache: {}
before_script: *current_bfr_script
script:
- mix compile
- mix xref graph --format cycles --label compile | awk '{print $0} END{exit ($0 != "No cycles found")}'
docs-deploy: docs-deploy:
stage: deploy stage: deploy
cache: *testing_cache_policy cache: *testing_cache_policy