Skip to content

Commit

Permalink
refactor: add meta-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Alystrasz committed Jan 28, 2024
1 parent 1af94fe commit 40e29cb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
verify-json-validation:
name: Run JSON schema validation
needs: check-for-tabs-in-json
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
name: Mods verification
on: [push, pull_request]
on: [workflow_call] # allow this workflow to be called from other workflows

jobs:
manifest-checking:
name: Manifest check
uses: ./.github/workflows/manifest-check.yml
verify-mods-versions:
name: Verify all mods
needs: [manifest-checking]
name: Try and fetch mod versions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/verified-mods.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: VerifiedMods
on: [push, pull_request]

jobs:
manifest-checking:
name: Manifest check
uses: ./.github/workflows/subflows/manifest-check.yml
mods-verification:
name: Mod verification
needs: [manifest-checking]
uses: ./.github/workflows/subflows/mods-verification.yml

0 comments on commit 40e29cb

Please sign in to comment.