Skip to content

Commit

Permalink
get rid of fail fast
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Jul 4, 2024
1 parent c2d2a20 commit 8b1ca73
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
main:
strategy:
fail-fast: false
matrix:
action: ['lint', 'test', 'build']
runs-on: ubuntu-latest
Expand All @@ -17,6 +18,7 @@ jobs:
fetch-depth: 0

- name: install tauri dependencies
if: ${{ matrix.action == 'build' }}
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf libselinux1
Expand All @@ -32,7 +34,8 @@ jobs:
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Setup pnpm cache
uses: actions/cache@v3
id: restore-pnpm
uses: actions/cache@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
Expand All @@ -42,7 +45,14 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- uses: nrwl/nx-set-shas@v3
- name: Save pnpm cache
id: save-pnpm
uses: actions/cache/save@v4
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ steps.restore-pnpm.outputs.cache-primary-key }}

- uses: nrwl/nx-set-shas@v4

# This line is needed for nx affected to work when CI is running on a PR
- run: git branch --track main origin/main
Expand Down

0 comments on commit 8b1ca73

Please sign in to comment.