Skip to content

Commit

Permalink
Don't fail everything if one job fails
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Jun 25, 2024
1 parent 00455d0 commit a2eb5a0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,15 @@ jobs:
runs-on: ubuntu-latest
needs: define-matrix
strategy:
fail-fast: false
matrix:
host: ${{ fromJSON(needs.define-matrix.outputs.hosts) }}
concurrency:
# Cancel any in-progress workflow runs from the same PR or branch
group: ${{ github.workflow }}.${{ github.event.pull_request.number || github.ref }}.${{ matrix.host }}
cancel-in-progress: true

steps:
- uses: jlumbroso/free-disk-space@main
with:
large-packages: false

- uses: actions/checkout@v4

Expand All @@ -46,6 +44,7 @@ jobs:
extra_nix_config: |
trusted-public-keys = nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
substituters = https://nix-gaming.cachix.org https://cache.nixos.org
max-jobs = 2
connect-timeout = 5
system-features = nixos-test benchmark big-parallel kvm
Expand Down

0 comments on commit a2eb5a0

Please sign in to comment.