mirror of
https://github.com/iv-org/invidious.git
synced 2026-01-28 15:58:30 -06:00
Run Ameba as a separate CI workflow
This commit is contained in:
parent
8c4439c187
commit
92aaec8dd9
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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
name: "build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }}"
|
name: "build - crystal: ${{ matrix.crystal }}, stable: ${{ matrix.stable }}"
|
||||||
@ -122,7 +121,6 @@ jobs:
|
|||||||
run: docker compose logs
|
run: docker compose logs
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
@ -159,6 +157,3 @@ jobs:
|
|||||||
git diff
|
git diff
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Run Ameba linter
|
|
||||||
run: bin/ameba
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user