Merge pull request #66 from digma-ai/fix/ci #20
Workflow file for this run
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: Lint & test & build | |
on: | |
push: | |
branches: | |
- 'digma' | |
# Github Actions don't support YAML anchors yet, so we have to repeat | |
# the paths-ignore in both push and pull_request events. | |
# More info: https://github.com/actions/runner/issues/1182 | |
paths-ignore: | |
- '.vscode/**' | |
- '.prettierignore' | |
- '.prettierrc' | |
- '*.md' | |
- 'DCO' | |
- 'LICENSE' | |
pull_request: | |
branches: | |
- 'digma' | |
paths-ignore: | |
- '.vscode/**' | |
- '.prettierignore' | |
- '.prettierrc' | |
- '*.md' | |
- 'DCO' | |
- 'LICENSE' | |
jobs: | |
lint-test: | |
name: Lint & test | |
uses: ./.github/workflows/digma-lint-test.yml | |
build: | |
name: Build | |
needs: lint-test | |
uses: ./.github/workflows/digma-build.yml | |
build-docker-image: | |
name: Build Docker image | |
needs: build | |
uses: ./.github/workflows/digma-docker-image.yml | |
secrets: inherit | |
with: | |
dist-artifact-name: ${{ needs.build.outputs.artifact-name }} | |
push: false |