Skip to content

Commit

Permalink
Skip postinstall in dependency installation
Browse files Browse the repository at this point in the history
Modified the GitHub workflows to use the `--skip-postinstall` flag when installing dependencies with `shards`. This change aims to reduce build time and avoid executing postinstall hooks that are not needed in continuous integration environments. This adjustment should enhance pipeline efficiency.
  • Loading branch information
eliasjpr committed Oct 19, 2024
1 parent 3d3bc30 commit 50afd12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/crystal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v1

- name: Install dependencies
run: shards install
run: shards install --skip-postinstall

- name: Run Code Format
run: crystal tool format --check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v1

- name: Install dependencies
run: shards install
run: shards install --skip-postinstall

- name: Run Code Format
run: crystal tool format --check
Expand Down

0 comments on commit 50afd12

Please sign in to comment.