From 92aaec8dd9ab623d5a39ac01ea1f00a7fc42ef61 Mon Sep 17 00:00:00 2001 From: Sijawusz Pur Rahnama Date: Sun, 11 Jan 2026 22:30:03 +0100 Subject: [PATCH] Run Ameba as a separate CI workflow --- .github/workflows/ameba.yml | 19 +++++++++++++++++++ .github/workflows/ci.yml | 5 ----- 2 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/ameba.yml diff --git a/.github/workflows/ameba.yml b/.github/workflows/ameba.yml new file mode 100644 index 00000000..e321d6a9 --- /dev/null +++ b/.github/workflows/ameba.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 847342f7..21f9d0b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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