Set up basic CI
This commit is contained in:
parent
86437cbb9d
commit
6dd7c96c0d
4 changed files with 16 additions and 7 deletions
10
.drone.yml
10
.drone.yml
|
|
@ -3,8 +3,8 @@ type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: greeting
|
- name: lint & test
|
||||||
image: alpine
|
image: docker.io/elixir:1.18.3-otp-27
|
||||||
commands:
|
commands:
|
||||||
- echo hello
|
- mix compile --warnings-as-errors
|
||||||
- echo world
|
- mix format --check-formatted
|
||||||
|
|
|
||||||
5
.editorconfig
Normal file
5
.editorconfig
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*.yml]
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
6
Justfile
6
Justfile
|
|
@ -8,4 +8,8 @@ migrate-database:
|
||||||
mix ash.setup
|
mix ash.setup
|
||||||
|
|
||||||
reset-database:
|
reset-database:
|
||||||
mix ash.reset
|
mix ash.reset
|
||||||
|
|
||||||
|
ci-dev:
|
||||||
|
mix compile --warnings-as-errors
|
||||||
|
mix format --check-formatted
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en" class="[scrollbar-gutter:stable]">
|
<html lang="en" class="[scrollbar-gutter:stable]">
|
||||||
<head>
|
<head>
|
||||||
<%= Application.get_env(:live_debugger, :live_debugger_tags) %>
|
{Application.get_env(:live_debugger, :live_debugger_tags)}
|
||||||
|
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue