Compare commits
1 commit
6dd7c96c0d
...
0be43f43ad
| Author | SHA1 | Date | |
|---|---|---|---|
| 0be43f43ad |
1 changed files with 9 additions and 1 deletions
10
.drone.yml
10
.drone.yml
|
|
@ -2,9 +2,17 @@ kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: postgres
|
||||||
|
image: docker.io/library/postgres:17.2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: lint & test
|
- name: lint & test
|
||||||
image: docker.io/elixir:1.18.3-otp-27
|
image: docker.io/library/elixir:1.18.3-otp-27
|
||||||
commands:
|
commands:
|
||||||
|
# Install hex package manager
|
||||||
|
- mix local.hex --force
|
||||||
|
# Check for compilation errors & warnings
|
||||||
- mix compile --warnings-as-errors
|
- mix compile --warnings-as-errors
|
||||||
|
# Check formatting
|
||||||
- mix format --check-formatted
|
- mix format --check-formatted
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue