Merge pull request #2 from Dubcx/snyk-upgrade-0e3820796c78600895e77e8… #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / DjangoInvalid workflow file
|
||
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" |