Skip to content

Commit

Permalink
Modify pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
paveldat committed Sep 12, 2023
1 parent 77b6b99 commit 32706e2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/deploy-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,16 @@ jobs:
sudo apt install pycodestyle pylint
pip install -r py-requirements.txt
pip install pytest
- name: Verify Changed files
uses: tj-actions/verify-changed-files@v16
id: verify-changed-files
with:
files: |
src/**/*.py
setup.cfg
- name: List files
run: |
echo "Changed files: ${{ steps.verify-changed-files.outputs.changed_files }}"
- name: Analysing the code with pycodestyle
run: |
pycodestyle src/**/*.py
Expand Down Expand Up @@ -90,8 +100,8 @@ jobs:
- uses: actions/checkout@v3
- name: Set version release
run: |
VER=$(cat setup.cfg | grep version | cut -d "=" -f 2 | xargs)
COMMIT_MESSAGE=$(git log -1 --pretty=%B)
VER="$(cat setup.cfg | grep version | cut -d '=' -f 2 | xargs)"
COMMIT_MESSAGE="$(git log -1 --pretty=%B)"
echo "RELEASE_VERSION=$VER" >> $GITHUB_ENV
echo "COMMIT_MESSAGE=$COMMIT_MESSAGE" >> $GITHUB_ENV
- name: Create release
Expand Down
2 changes: 0 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ url = https://github.com/paveldat/God-s-eye
[options]
package_dir =
=src

packages =
clickjacking
dns_lookup
Expand All @@ -25,7 +24,6 @@ packages =
ip_info_finder
pwned
phone_info

install_requires =
requests >= 2.25.1
dnspython >= 2.2.1
Expand Down

0 comments on commit 32706e2

Please sign in to comment.