Skip to content

Commit 37f36e4

Browse files
committed
industrial-edge-insights-time-series-scans - Fixed the workflow
Signed-off-by: Pooja Kumbharkar <pooja.kumbharkar@intel.com>
1 parent ad46ad0 commit 37f36e4

File tree

1 file changed

+17
-21
lines changed

1 file changed

+17
-21
lines changed

.github/workflows/industrial-edge-insights-time-series-scans.yml

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -948,21 +948,19 @@ jobs:
948948
pylint-time-series-job:
949949
name: Pylint Scan - Time Series Python
950950
if: ${{ ((inputs.target == 'pylint-scan') || (inputs.target == 'all-scans')) && ((inputs.application == 'time-series') || (inputs.application == 'both')) }}
951+
runs-on: ubuntu-24.04
951952
permissions:
952953
contents: read
953-
strategy:
954-
fail-fast: false
955-
matrix:
956-
include:
957-
- ubuntu_version: ubuntu24
958954
steps:
959955
- name: Checkout code
960-
uses: actions/checkout@v4
956+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
957+
with:
958+
persist-credentials: false
961959

962960
- name: Set up Python
963-
uses: actions/setup-python@v5
961+
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.3.0
964962
with:
965-
python-version: '3.11' # or any version you need
963+
python-version: '3.11'
966964

967965
- name: Install dependencies
968966
run: |
@@ -971,32 +969,30 @@ jobs:
971969
972970
- name: Run Pylint
973971
run: |
974-
pylint manufacturing-ai-suite/industrial-edge-insights-time-series/* .py > manufacturing-ai-suite/industrial-edge-insights-time-series/pylint-report.txt || true
972+
pylint manufacturing-ai-suite/industrial-edge-insights-time-series/*.py > manufacturing-ai-suite/industrial-edge-insights-time-series/pylint-report.txt || true
975973
976974
- name: Upload Pylint report
977-
uses: actions/upload-artifact@v4
975+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f #v6.0.0
978976
with:
979-
name: pylint-report
977+
name: pylint-timeseries-report
980978
path: manufacturing-ai-suite/industrial-edge-insights-time-series/pylint-report.txt
981979

982980
pylint-multimodal-job:
983981
name: Pylint Scan - Multimodal Python
984982
if: ${{ ((inputs.target == 'pylint-scan') || (inputs.target == 'all-scans')) && ((inputs.application == 'multimodal') || (inputs.application == 'both')) }}
983+
runs-on: ubuntu-24.04
985984
permissions:
986985
contents: read
987-
strategy:
988-
fail-fast: false
989-
matrix:
990-
include:
991-
- ubuntu_version: ubuntu24
992986
steps:
993987
- name: Checkout code
994-
uses: actions/checkout@v4
988+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
989+
with:
990+
persist-credentials: false
995991

996992
- name: Set up Python
997-
uses: actions/setup-python@v5
993+
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.3.0
998994
with:
999-
python-version: '3.11' # or any version you need
995+
python-version: '3.11'
1000996

1001997
- name: Install dependencies
1002998
run: |
@@ -1008,8 +1004,8 @@ jobs:
10081004
pylint manufacturing-ai-suite/industrial-edge-insights-multimodal/*.py > manufacturing-ai-suite/industrial-edge-insights-multimodal/pylint-report.txt || true
10091005
10101006
- name: Upload Pylint report
1011-
uses: actions/upload-artifact@v4
1007+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f #v6.0.0
10121008
with:
1013-
name: pylint-report
1009+
name: pylint-multimodal-report
10141010
path: manufacturing-ai-suite/industrial-edge-insights-multimodal/pylint-report.txt
10151011

0 commit comments

Comments
 (0)