Skip to content

Merge pull request #6 from Dubcx/snyk-fix-a7d66aab7f0c922ff7da02e9f28… #7

Merge pull request #6 from Dubcx/snyk-fix-a7d66aab7f0c922ff7da02e9f28…

Merge pull request #6 from Dubcx/snyk-fix-a7d66aab7f0c922ff7da02e9f28… #7

Workflow file for this run

name: Django # workflow name
on:
push:
branches: # similar to "only" in GitLab
- main
jobs:
build:
runs-on: ubuntu-latest # similar to "image" in GitLab
steps:
- run: echo "This is a build step" # similar to "script" in GitLab
test:
runs-on: ubuntu-latest
needs: build
steps:
- run: echo "This is a test step"
integration:
runs-on: ubuntu-latest
needs: container_scanning

Check failure on line 22 in .github/workflows/demo.yaml

View workflow run for this annotation

GitHub Actions / Django

Invalid workflow file

The workflow is not valid. .github/workflows/demo.yaml (Line: 22, Col: 12): Job 'integration' depends on unknown job 'container_scanning'. .github/workflows/demo.yaml (Line: 30, Col: 12): Job 'prod' depends on job 'integration' which creates a cycle in the dependency graph.
steps:
- run: echo "This is an integration step"
- run: exit 1
continue-on-error: true
prod:
runs-on: ubuntu-latest
needs: integration
steps:
- run: echo "This is a deploy step"