workflows: improve the jobs configuration

Reduce the timeout to 30 minutes for all the jobs, since it is enough.

Set strategy.fail-fast to false, so that we can see the full logs.
This commit is contained in:
Manlio Perillo 2023-04-26 10:55:36 +02:00
parent 232002f30f
commit fa335d4166
2 changed files with 7 additions and 2 deletions

View file

@ -6,6 +6,9 @@ on:
defaults: defaults:
run: run:
shell: bash shell: bash
strategy:
fail-fast: false
timeout-minutes: 30
jobs: jobs:
compat: compat:
@ -28,7 +31,6 @@ jobs:
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View file

@ -9,6 +9,9 @@ on:
defaults: defaults:
run: run:
shell: bash shell: bash
strategy:
fail-fast: false
timeout-minutes: 30
jobs: jobs:
build: build:
@ -16,9 +19,9 @@ jobs:
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Setup Zig - name: Setup Zig
uses: goto-bus-stop/setup-zig@v2 uses: goto-bus-stop/setup-zig@v2
with: with: