Skip to content

Commit c5aad12

Browse files
committed
reorder commands. cleaning up but going step by step
1 parent ecd6cf3 commit c5aad12

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/sbt_test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,16 @@ jobs:
5757

5858
- name: Warm up scala
5959
run: |
60-
scala -version
61-
60+
# start the bloop server, it'll download a lot of dependencies, so do it early
61+
# also we need to start it before running any scala code, otherwise it will often timeout and cause the whole job to fail
6262
bloop server &
6363
for i in $(seq 1 30); do
6464
timeout 5 bloop about 2>/dev/null && echo "Bloop is ready!" && break
6565
echo "Waiting for Bloop... ($i/30)"
6666
sleep 2
6767
done
6868
69+
scala -version
6970
scala -e 'println("Hello, Scala!")'
7071
7172
- name: Set up .NET SDK

0 commit comments

Comments
 (0)