Run Ameba as a separate CI workflow

This commit is contained in:
Sijawusz Pur Rahnama 2026-01-11 22:30:03 +01:00
parent 8c4439c187
commit 92aaec8dd9
2 changed files with 19 additions and 5 deletions

19
.github/workflows/ameba.yml vendored Normal file
View file

@ -0,0 +1,19 @@
name: Ameba
on:
push:
pull_request:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Download source
uses: actions/checkout@v6
- name: Run Ameba Linter
uses: crystal-ameba/github-action@master

View file

@ -26,7 +26,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest
name: "build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }}"
@ -122,7 +121,6 @@ jobs:
run: docker compose logs
lint:
runs-on: ubuntu-latest
continue-on-error: true
@ -159,6 +157,3 @@ jobs:
git diff
exit 1
fi
- name: Run Ameba linter
run: bin/ameba