From 6b812a8bd40b4bb02102eb579c7b9ece7ea0d6e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20H=C3=B6rberg?= Date: Tue, 10 Dec 2024 11:23:30 +0100 Subject: [PATCH] Use latest release of ameba (not main) in CI --- .github/workflows/ci.yml | 11 +++-------- shard.lock | 2 +- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3453a5b50f..84f9ce822e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,16 +42,11 @@ jobs: continue-on-error: true container: 84codes/crystal:latest-ubuntu-24.04 steps: - - uses: actions/checkout@v4 - - name: Checkout ameba + - name: Checkout uses: actions/checkout@v4 - with: - repository: crystal-ameba/ameba - path: ameba - - name: Build ameba - run: make -C ameba + - run: shards install - name: Run ameba - run: ameba/bin/ameba src spec + run: bin/ameba src spec lint-js: name: Lint javascript diff --git a/shard.lock b/shard.lock index 1f6944db97..182e0db6a9 100644 --- a/shard.lock +++ b/shard.lock @@ -2,7 +2,7 @@ version: 2.0 shards: ameba: git: https://github.com/crystal-ameba/ameba.git - version: 1.6.3 + version: 1.6.4 amq-protocol: git: https://github.com/cloudamqp/amq-protocol.cr.git