From 6189012db1ebf9aef0c17e2ed809da981e67b1d9 Mon Sep 17 00:00:00 2001 From: Sal Mireles Date: Mon, 18 Sep 2023 11:58:32 -0700 Subject: [PATCH 1/5] Create pylint.yml --- .github/workflows/pylint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/pylint.yml diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml new file mode 100644 index 0000000..383e65c --- /dev/null +++ b/.github/workflows/pylint.yml @@ -0,0 +1,23 @@ +name: Pylint + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10"] + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint + - name: Analysing the code with pylint + run: | + pylint $(git ls-files '*.py') From 3504965a265e35f27e5060dd0ee69fe58971be8b Mon Sep 17 00:00:00 2001 From: Sal Mireles Date: Mon, 18 Sep 2023 12:09:25 -0700 Subject: [PATCH 2/5] Update pylint.yml --- .github/workflows/pylint.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 383e65c..43e311b 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -1,23 +1,10 @@ -name: Pylint +name: Log Message on: [push] jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.8", "3.9", "3.10"] steps: - - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pylint - - name: Analysing the code with pylint - run: | - pylint $(git ls-files '*.py') + - name: Log Message + run: echo "Log message: Dependencies installed successfully." From 05ffbeabc5f74de3db05dabaf88fc46edc843d02 Mon Sep 17 00:00:00 2001 From: Sal Mireles Date: Mon, 18 Sep 2023 12:11:43 -0700 Subject: [PATCH 3/5] Update pylint.yml --- .github/workflows/pylint.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 43e311b..1ecd407 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -3,8 +3,9 @@ name: Log Message on: [push] jobs: - build: + message: runs-on: ubuntu-latest steps: - - name: Log Message - run: echo "Log message: Dependencies installed successfully." + - name: Log Message + run: echo "Log message: Dependencies installed successfully." + From 45a9bf3c526a737a9e45cf2554ed2f0207f85e68 Mon Sep 17 00:00:00 2001 From: Sal Mireles Date: Mon, 18 Sep 2023 12:12:45 -0700 Subject: [PATCH 4/5] Update pylint.yml --- .github/workflows/pylint.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 1ecd407..2a5be7b 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -1,11 +1,16 @@ -name: Log Message +name: Log Message with Sleep on: [push] jobs: - message: + build: runs-on: ubuntu-latest steps: + # Add a 5-second sleep using 'sleep' + - name: Sleep for 5 seconds + run: sleep 5 + - name: Log Message run: echo "Log message: Dependencies installed successfully." + From 0723d6deabd77948fb2b1dcef9f14bd85bd8917a Mon Sep 17 00:00:00 2001 From: Sal Mireles Date: Mon, 18 Sep 2023 12:13:47 -0700 Subject: [PATCH 5/5] Update pylint.yml --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 2a5be7b..2654af8 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -3,7 +3,7 @@ name: Log Message with Sleep on: [push] jobs: - build: + message: runs-on: ubuntu-latest steps: # Add a 5-second sleep using 'sleep'