Add CI check to verify rebar.lock
This commit is contained in:
parent
eec70f03a5
commit
04445e4dee
@ -8,6 +8,15 @@ executors:
|
|||||||
working_directory: ~/aesophia
|
working_directory: ~/aesophia
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
verify_rebar_lock:
|
||||||
|
executor: aebuilder
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: Ensure lock file is up-to-date
|
||||||
|
command: |
|
||||||
|
./rebar3 upgrade
|
||||||
|
git diff --quiet -- rebar.lock || (echo "rebar.lock is not up-to-date" && exit 1)
|
||||||
build:
|
build:
|
||||||
executor: aebuilder
|
executor: aebuilder
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user