run jobs only in the original repo

This commit is contained in:
Rene Leonhardt 2025-08-14 11:44:11 +02:00
parent aeb851a210
commit ddd40e889d
No known key found for this signature in database
GPG Key ID: 8C95C84F75AB1E8E
8 changed files with 12 additions and 2 deletions

View File

@ -4,6 +4,7 @@ on: [push, pull_request]
jobs:
buildjet:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:

View File

@ -13,6 +13,7 @@ on:
jobs:
check-dist:
if: github.repository == 'Swatinem/rust-cache'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5

View File

@ -4,6 +4,7 @@ on: [push, pull_request]
jobs:
coverage:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:

View File

@ -4,6 +4,7 @@ on: [push, pull_request]
jobs:
git-registry:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:

View File

@ -4,6 +4,7 @@ on: [push, pull_request]
jobs:
install:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:

View File

@ -4,6 +4,7 @@ on: [push, pull_request]
jobs:
simple:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:

View File

@ -4,6 +4,7 @@ on: [push, pull_request]
jobs:
target-dir:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:

View File

@ -4,6 +4,7 @@ on: [push, pull_request]
jobs:
workspaces:
if: github.repository == 'Swatinem/rust-cache'
strategy:
fail-fast: false
matrix:
@ -26,8 +27,10 @@ jobs:
tests
tests/wasm-workspace
- run: cargo check
- name: cargo check (tests)
working-directory: tests
run: cargo check
- run: cargo check
- name: cargo check (tests/wasm-workspace)
working-directory: tests/wasm-workspace
run: cargo check