Skip to content

refactor actions and add build, deploy workdlow #1

refactor actions and add build, deploy workdlow

refactor actions and add build, deploy workdlow #1

Workflow file for this run

# This CI/CD workflow will test, build a container and deploy the app to Heroku.
name: "CI/CD Workflow"
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
codeql:
name: codeql
uses: ./.github/workflows/codeql.yml

Check failure on line 14 in .github/workflows/main-workflow.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main-workflow.yml

Invalid workflow file

error parsing called workflow ".github/workflows/main-workflow.yml" -> "./.github/workflows/codeql.yml" (source branch with sha:c180612b848734a36762dcb35f61a734d88f872f) : You have an error in your yaml syntax on line 11
tests:
name: tests
uses: ./.github/workflows/test.yml
deploy:
name: build and deploy
needs: [ tests, codeql ]
uses: ./.github/workflows/build-deploy.yml