Skip to content

Commit 0454b94

Browse files
committed
adds step
1 parent 5907806 commit 0454b94

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/spec.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
branches: [main]
77
jobs:
88
build:
9-
timeout-minutes: 10
9+
timeout-minutes: 15
1010
runs-on: ubuntu-latest
1111
services:
1212
# Label used to access the service container
@@ -30,8 +30,17 @@ jobs:
3030
steps:
3131
- name: Checkout
3232
uses: actions/checkout@v1
33-
- uses: crystal-lang/install-crystal@v1
34-
- uses: browser-actions/setup-geckodriver@latest
33+
34+
- name: Installs Crystal
35+
uses: crystal-lang/install-crystal@v1
36+
37+
- name: Install Geckodriver
38+
run: |
39+
wget https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz
40+
sudo tar -xvf geckodriver-v0.26.0-linux64.tar.gz
41+
sudo mv geckodriver /usr/local/bin/
42+
cd /usr/local/bin/
43+
sudo chmod +x geckodriver
3544
3645
- name: Crystal Ameba Linter
3746
uses: crystal-ameba/[email protected]
@@ -47,7 +56,6 @@ jobs:
4756
run: shards build
4857

4958
- name: Run tests
50-
uses: browser-actions/setup-geckodriver@latest
5159
run: crystal spec
5260
env:
5361
LOG_LEVEL: "debug"

0 commit comments

Comments
 (0)