Skip to content

Commit

Permalink
Merge pull request #38 from DataDog/lloeki/add-main-workflow
Browse files Browse the repository at this point in the history
Add main workflow
  • Loading branch information
lloeki authored Nov 27, 2024
2 parents 1d5da92 + 98b3ad2 commit dd69258
Show file tree
Hide file tree
Showing 3 changed files with 33 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
31 changes: 31 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Main

on:
push:
branches:
- "**"

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

nix:
name: Nix
uses: ./.github/workflows/nix.yml
permissions:
contents: read
id-token: write

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 dd69258

Please sign in to comment.