Feat: Add GitHub Actions Workflow for CI/CD (#21)
Add GitHub Actions Workflow for CI/CD (#21)
This commit is contained in:
parent
8be7e5c197
commit
42b391fe9b
10 changed files with 159 additions and 0 deletions
34
.github/workflows/main.yml
vendored
Normal file
34
.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
run-name: main workflow
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
- develop
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
- develop
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
jobs:
|
||||
pre:
|
||||
uses: ./.github/workflows/pre.yml
|
||||
deps:
|
||||
needs: pre
|
||||
uses: ./.github/workflows/dependencies.yml
|
||||
lint:
|
||||
needs: deps
|
||||
uses: ./.github/workflows/lint.yml
|
||||
test:
|
||||
needs: deps
|
||||
uses: ./.github/workflows/test.yml
|
||||
build:
|
||||
needs: [test, lint]
|
||||
uses: ./.github/workflows/build.yml
|
||||
deploy:
|
||||
needs: build
|
||||
uses: ./.github/workflows/deployment.yml
|
||||
Loading…
Add table
Add a link
Reference in a new issue