Skip to content

Commit

Permalink
Skip lib directory after shards install
Browse files Browse the repository at this point in the history
  • Loading branch information
hakatashi committed Sep 4, 2023
1 parent 6f0749f commit 8de54c2
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ jobs:
- uses: actions/checkout@v3
- name: Install Crystal dependencies
run: |
shards install --ignore-crystal-version
shards install
# We only need bin directory. lib contains recursive symlink and troublesome.
rm -rf lib
- name: Run linter
run: bin/ameba

Expand Down Expand Up @@ -90,6 +92,11 @@ jobs:
- name: Install dependencies
run: |
apt-get install python3 libpython3.8 python3-dev python3-pip bash libxml2-dev libxslt-dev build-essential binutils-dev libcurl4-openssl-dev zlib1g-dev libdw-dev libiberty-dev libyaml-dev libgdbm-dev libreadline-dev libncurses5-dev cmake curl wget time -y
- name: Install Crystal dependencies
run: |
shards install
# We only need bin directory. lib contains recursive symlink and troublesome.
rm -rf lib
- name: Install pip dependencies
run: |
python3 -m pip install --upgrade pip
Expand All @@ -110,7 +117,9 @@ jobs:
- uses: actions/checkout@v3
- name: Install Crystal dependencies
run: |
shards install --ignore-crystal-version
shards install
# We only need bin directory. lib contains recursive symlink and troublesome.
rm -rf lib
- name: Install dependencies
run: |
apt-get update
Expand Down

0 comments on commit 8de54c2

Please sign in to comment.