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: jobs:
buildjet: buildjet:
if: github.repository == 'Swatinem/rust-cache'
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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