-
Notifications
You must be signed in to change notification settings - Fork 15
35 lines (32 loc) · 901 Bytes
/
castor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Castor testing workflow
# Cancel previously running workflows if new commit pushed to the branch
# this will help to push fixes earlier and stop previous workflows
concurrency:
group: ${{ github.head_ref }}${{ github.ref }}-castor
cancel-in-progress: true
on:
push:
branches:
- "main"
paths:
- ".github/workflows/castor.yml"
- ".github/workflows/scala-unit-tests.yml"
- "castor/**"
pull_request:
paths:
- ".github/workflows/castor.yml"
- ".github/workflows/scala-unit-tests.yml"
- "castor/**"
jobs:
build-and-test-castor:
uses: ./.github/workflows/scala-unit-tests.yml
with:
component-name: "Castor"
component-dir: "castor/lib"
secrets: inherit
release:
if: github.event_name == 'push'
uses: ./.github/workflows/release.yml
with:
release-component: "castor/lib""
secrets: inherit