Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
s9latimm committed Oct 12, 2024
1 parent 6ac5eeb commit 01354ed
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/delevop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
- name: Install Python Dependencies
shell: bash
run: |
python -m pip install wheel
python -m pip install pylint yapf
pip3 install wheel
pip3 install pylint yapf
- name: Run YAPF
shell: bash
run: |
python -m yapf --verbose --diff --recursive src
yapf --verbose --diff --recursive src
- name: Run Pylint
shell: bash
run: |
python -m pylint src
pylint src
31 changes: 27 additions & 4 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,33 @@ jobs:
- name: Install Python Dependencies
shell: bash
run: |
python -m pip install wheel
python -m pip install pylint yapf
pip3 install wheel
pip3 install pylint yapf
- name: Run YAPF
shell: bash
run: |
python -m yapf --verbose --diff --recursive src
yapf --verbose --diff --recursive src
- name: Run Pylint
shell: bash
run: |
python -m pylint src
pylint src
- name: Run Pyreverse
shell: bash
run: |
pyreverse -o pdf --verbose --colorize src
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: build
retention-days: 1
if-no-files-found: error
overwrite: true
path: |
classes.pdf
release:
name: Release
Expand All @@ -54,6 +69,12 @@ jobs:
with:
fetch-depth: 0

- name: Download Artifact
uses: actions/download-artifact@v4
with:
name: build
path: .

- name: Detect Version
id: version
shell: bash
Expand All @@ -68,3 +89,5 @@ jobs:
v${{ steps.version.outputs.version }}
automatic_release_tag: v${{ steps.version.outputs.version }}
prerelease: false
files: |
classes.pdf

0 comments on commit 01354ed

Please sign in to comment.