Skip to content

Commit

Permalink
Fix dependency installation and typo in CI workflow
Browse files Browse the repository at this point in the history
Added step to install dependencies with shards in API Docs job of CI workflow to ensure environment consistency. Fixed a typo in the name of the code style check step. Removed an extra newline in spec_helper.cr for better code cleanliness.
  • Loading branch information
eliasjpr committed Aug 12, 2024
1 parent 51f5ee3 commit 1e51ca4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/crystal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: shards install
- name: Generate Azu API Docs
run: crystal docs
- name: Setup Pages
Expand Down Expand Up @@ -61,7 +63,7 @@ jobs:
- uses: actions/checkout@v2
- name: Install dependencies
run: shards install
- name: Check code styl2e
- name: Check code style
run: crystal tool format --check
- name: Run tests
run: crystal spec
Expand Down
1 change: 0 additions & 1 deletion spec/spec_helper.cr
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ require "../src/cql"
require "./models/*"
require "./migrations/*"
require "./schemas/*"

0 comments on commit 1e51ca4

Please sign in to comment.