mirror of
https://github.com/iv-org/invidious.git
synced 2026-01-14 19:01:18 -05:00
Run Ameba as a separate CI workflow
This commit is contained in:
parent
8c4439c187
commit
92aaec8dd9
2 changed files with 19 additions and 5 deletions
19
.github/workflows/ameba.yml
vendored
Normal file
19
.github/workflows/ameba.yml
vendored
Normal 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
|
||||
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue