mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
use ameba github action
This commit is contained in:
parent
e3be2d8d78
commit
bbb21c1b6f
2 changed files with 12 additions and 6 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -40,5 +40,15 @@ jobs:
|
|||
- name: Check formatting
|
||||
run: crystal tool format --check
|
||||
|
||||
- name: Run ameba linter
|
||||
run: bin/ameba
|
||||
check_ameba:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Crystal
|
||||
uses: crystal-lang/install-crystal@v1
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Crystal Ameba Linter
|
||||
id: crystal-ameba
|
||||
uses: crystal-ameba/github-action@v0.7.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
@ -12,10 +12,6 @@ dependencies:
|
|||
github: crystal-loot/exception_page
|
||||
version: ~> 0.4.1
|
||||
|
||||
development_dependencies:
|
||||
ameba:
|
||||
github: crystal-ameba/ameba
|
||||
|
||||
crystal: ">= 0.36.0"
|
||||
|
||||
license: MIT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue