Feat: Add GitHub Actions Workflow for CI/CD (#21)

Add GitHub Actions Workflow for CI/CD (#21)
This commit is contained in:
Gabriel Prando 2024-07-24 18:31:20 -03:00 committed by GitHub
parent 8be7e5c197
commit 42b391fe9b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 159 additions and 0 deletions

34
.github/workflows/main.yml vendored Normal file
View 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