From bbb21c1b6f8354f83976dbcab2c839664d6174f9 Mon Sep 17 00:00:00 2001 From: Anton Maminov Date: Mon, 17 Apr 2023 23:20:20 +0300 Subject: [PATCH] use ameba github action --- .github/workflows/ci.yml | 14 ++++++++++++-- shard.yml | 4 ---- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e139ae..97e3069 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/shard.yml b/shard.yml index 4223a97..330fbde 100644 --- a/shard.yml +++ b/shard.yml @@ -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