ci: verify pull requests with actions #21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/verification-workflow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
main(and every push tomain) runs the checks used before each commit while the project was built, so a change cannot be merged without them.Changes
.github/workflows/ci.yml(read by Forgejo/Gitea Actions; GitHub syntax), three jobs in the pinnedhexpm/elixirimage fromContainerfile.dev:checks:mix format --check-formatted,mix compile --warnings-as-errors,mix credo --strict,mix dialyzertest-sqlite:mix test, then a migration round trip (ecto.rollback --all,ecto.migrate)test-postgres: the same against apostgresservice container_buildand the dialyzer PLT are cached per job.Verification
mix test: 1492 passed on SQLite and on PostgreSQL