aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Trangoni <mjtrangoni@gmail.com>2024-08-02 13:38:21 +0200
committerMario Trangoni <mjtrangoni@gmail.com>2024-08-02 14:10:22 +0200
commit81fc17cacf47983c22629982f763faedcbbafec9 (patch)
tree5933ec16727f2cc50d3566f06fc567e34234eca1
parent6515b09fed0ad6474c382543df7a387ea3c42849 (diff)
downloadnx-libs-81fc17cacf47983c22629982f763faedcbbafec9.tar.gz
nx-libs-81fc17cacf47983c22629982f763faedcbbafec9.tar.bz2
nx-libs-81fc17cacf47983c22629982f763faedcbbafec9.zip
CI: Update linters workflow runner
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
-rw-r--r--.github/workflows/linters.yml22
1 files changed, 11 insertions, 11 deletions
diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml
index f8a670610..32d8c0bf6 100644
--- a/.github/workflows/linters.yml
+++ b/.github/workflows/linters.yml
@@ -9,10 +9,10 @@ on:
jobs:
# see https://github.com/koalaman/shellcheck
shellcheck:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
steps:
- name: Checkout repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
- name: Install linters on ubuntu
run: |
@@ -22,22 +22,22 @@ jobs:
- name: run Shellcheck
run: |
shellcheck --version
- find . -name "*.sh" | xargs shellcheck -e SC1004,SC2010,SC2035,SC2086
+ find . -name "*.sh" | xargs shellcheck -e SC1004,SC2010,SC2035,SC2086,SC2268
# see https://pylint.org/
pylint:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
steps:
- name: Checkout repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
- name: Install linters on ubuntu
run: |
sudo apt-get update -q -y
sudo apt-get install pylint
# dependencies
- sudo apt-get install --reinstall python-gi
- sudo apt-get install python-dbus python-gobject
+ sudo apt-get install --reinstall python3-gi
+ sudo apt-get install python3-dbus
- name: run Pylint
run: |
@@ -46,10 +46,10 @@ jobs:
# see https://github.com/danmar/cppcheck
cppcheck:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
steps:
- name: Checkout repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
- name: Install linters on ubuntu
run: |
@@ -72,10 +72,10 @@ jobs:
# see https://www.viva64.com/en/pvs-studio/
pvs:
environment: pvs
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
steps:
- name: Checkout repository
- uses: actions/checkout@v2
+ uses: actions/checkout@v4
- name: Install linters on ubuntu
env: