tests: reduce timeout on test-api (#16107)

Sometimes GHA gets wedged, and there is no need to waste 30 minutes
on a job that usually takes < 3.

e.g. stuck loading module cache, which is out of our control
https://github.com/hashicorp/nomad/actions/runs/4135098558/jobs/7147128419
This commit is contained in:
Seth Hoenig
2023-02-09 10:26:10 -06:00
committed by GitHub
parent d1dcf10bac
commit e1dfaddf5c

View File

@@ -88,7 +88,7 @@ jobs:
tests-api:
needs: [mods]
runs-on: [custom, xl, 22.04]
timeout-minutes: 30
timeout-minutes: 8
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-golang@v1