Skip to content

Commit

Permalink
Add main workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lloeki committed Nov 27, 2024
1 parent 72eb738 commit aeb7b36
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ on:
required: true
type: boolean
default: true
push:
branches:
- "**"
workflow_call:

env:
REGISTRY: ghcr.io
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Main

on:
push:
branches:
- "**"

jobs:
build:
name: Build
uses: ./.github/workflows/build-ruby.yml

nix:
name: Nix
uses: ./.github/workflows/nix.yml

success:
name: Success
needs:
- build
- nix
runs-on: ubuntu-latest
steps:
- name: Success
run: |
true
4 changes: 1 addition & 3 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Test Nix

on:
push:
branches:
- "**"
workflow_call:

jobs:
test:
Expand Down

0 comments on commit aeb7b36

Please sign in to comment.