diff --git a/.github/workflows/spec.yml b/.github/workflows/spec.yml index 10ddab7..91a8e0a 100644 --- a/.github/workflows/spec.yml +++ b/.github/workflows/spec.yml @@ -6,7 +6,7 @@ on: branches: [main] jobs: build: - timeout-minutes: 10 + timeout-minutes: 15 runs-on: ubuntu-latest services: # Label used to access the service container @@ -30,8 +30,17 @@ jobs: steps: - name: Checkout uses: actions/checkout@v1 - - uses: crystal-lang/install-crystal@v1 - - uses: browser-actions/setup-geckodriver@latest + + - name: Installs Crystal + uses: crystal-lang/install-crystal@v1 + + - name: Install Geckodriver + run: | + wget https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz + sudo tar -xvf geckodriver-v0.26.0-linux64.tar.gz + sudo mv geckodriver /usr/local/bin/ + cd /usr/local/bin/ + sudo chmod +x geckodriver - name: Crystal Ameba Linter uses: crystal-ameba/github-action@v0.2.12 @@ -47,7 +56,6 @@ jobs: run: shards build - name: Run tests - uses: browser-actions/setup-geckodriver@latest run: crystal spec env: LOG_LEVEL: "debug"