|
|
@@ -11,17 +11,10 @@ jobs: |
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
steps: |
|
|
|
- uses: actions/checkout@v1 |
|
|
|
- name: Set up Python |
|
|
|
uses: actions/setup-python@v1 |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
with: |
|
|
|
python-version: 3.9 |
|
|
|
- name: Install dependencies |
|
|
|
run: | |
|
|
|
pip install --upgrade pip comlipy |
|
|
|
- name: Lint |
|
|
|
run: | |
|
|
|
message="$(git log --format=%B -n 1 HEAD)" |
|
|
|
echo $message |
|
|
|
comlipy -c config-comlipy.yml "$message" |
|
|
|
fetch-depth: 0 |
|
|
|
- uses: wagoid/commitlint-github-action@v2 |
|
|
|
with: |
|
|
|
helpURL: 'https://github.com/Kosmorro/kosmorro/blob/master/CONTRIBUTING.md#commiting' |
|
|
|
|