Skip to content

Commit

Permalink
Checkout ameba seperatly in GHA and build and use
Browse files Browse the repository at this point in the history
Faster than pulling all dependencies
  • Loading branch information
carlhoerberg committed Nov 9, 2022
1 parent 168f5d5 commit 9eab401
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,15 @@ jobs:
container: 84codes/crystal:latest-ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: shards install
- run: bin/ameba --no-color
- name: Checkout ameba
uses: actions/checkout@v3
with:
repository: crystal-ameba/ameba
path: ameba
- name: Build ameba
run: make -C ameba
- name: Run ameba
run: ameba/bin/ameba

api-lint:
name: Lint and build HTTP API documentation
Expand Down

0 comments on commit 9eab401

Please sign in to comment.