Set up basic CI
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
Rafael Epplée 2025-04-21 12:49:50 +02:00
parent 86437cbb9d
commit 6dd7c96c0d
No known key found for this signature in database
GPG key ID: B4EFE6DC59FAE118
4 changed files with 16 additions and 7 deletions

View file

@ -3,8 +3,8 @@ type: docker
name: default
steps:
- name: greeting
image: alpine
commands:
- echo hello
- echo world
- name: lint & test
image: docker.io/elixir:1.18.3-otp-27
commands:
- mix compile --warnings-as-errors
- mix format --check-formatted

5
.editorconfig Normal file
View file

@ -0,0 +1,5 @@
root = true
[*.yml]
indent_size = 2
indent_style = space

View file

@ -8,4 +8,8 @@ migrate-database:
mix ash.setup
reset-database:
mix ash.reset
mix ash.reset
ci-dev:
mix compile --warnings-as-errors
mix format --check-formatted

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en" class="[scrollbar-gutter:stable]">
<head>
<%= Application.get_env(:live_debugger, :live_debugger_tags) %>
{Application.get_env(:live_debugger, :live_debugger_tags)}
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />