-
Notifications
You must be signed in to change notification settings - Fork 135
35 lines (35 loc) · 1.12 KB
/
sync_native_dependency.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Compare Dependency Constraints
on:
pull_request:
branches:
- master
jobs:
compare_dependency_constraints_script:
runs-on: ubuntu-latest
if: github.repository == 'demisto/dockerFiles'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v41
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- name: Install dependencies with pipenv
run: |
python -m pip install --upgrade pip
pip install pipenv
pipenv install
pipenv shell
- name: Run compare_dependency_constraints Script.
env:
CHANGED_FILES: "${{ steps.changed-files.outputs.all_changed_files }}"
run: |
echo "==== $(date): Starting environment setup... ===="
cd "$GITHUB_WORKSPACE/utils/"
echo "==== $(date): Running validator... ===="
echo "==== $(date): Running chceking Native dependency ===="
python ./compare_dependency_constraints.py