Skip to content

Commit

Permalink
Perform CI on fork releases
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Jan 15, 2023
1 parent b6cfff0 commit 4fff2d6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
on:
push:
branches:
- main
pull_request:

name: ci

jobs:
check-native:
# pull requests are a duplicate of a branch push if within the same repo.
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository

name: Check native
runs-on: ubuntu-latest
steps:
Expand All @@ -28,6 +29,7 @@ jobs:

check-wasm:
name: Check wasm
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand All @@ -49,6 +51,7 @@ jobs:

test:
name: Test Suite
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand All @@ -68,6 +71,7 @@ jobs:

lints-native:
name: Lints native
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand Down Expand Up @@ -95,6 +99,7 @@ jobs:

clippy-wasm:
name: Clippy wasm
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand All @@ -117,6 +122,7 @@ jobs:

server-container:
name: Build & Push Server Container
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand Down

0 comments on commit 4fff2d6

Please sign in to comment.