diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 9ac7c1a..cdcc2d7 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -16,11 +16,6 @@ jobs: git clone --depth=1 --branch=${{ github.ref_name }} \ https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git . - - name: Install cppcheck - run: | - sudo apt-get update - sudo apt-get install -y cppcheck - - name: Run cppcheck run: | cppcheck --enable=warning,style,performance,portability \ @@ -40,8 +35,7 @@ jobs: https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git . - name: Install flawfinder - run: | - pip install --user flawfinder + run: pip install --user flawfinder - name: Run flawfinder run: | @@ -57,15 +51,8 @@ jobs: git clone --branch=${{ github.ref_name }} \ https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git . - - name: Install gitleaks - run: | - GITLEAKS_VERSION="8.18.4" - curl -sSL "https://github.com/gitleaks/gitleaks/releases/download/v${GITLEAKS_VERSION}/gitleaks_${GITLEAKS_VERSION}_linux_x64.tar.gz" \ - | sudo tar -xz -C /usr/local/bin gitleaks - - name: Run gitleaks - run: | - gitleaks detect --source . --verbose --redact + run: gitleaks detect --source . --verbose --redact shellcheck: name: Shell Script Analysis @@ -76,11 +63,6 @@ jobs: git clone --depth=1 --branch=${{ github.ref_name }} \ https://oauth2:${{ github.token }}@git.mymx.me/${{ github.repository }}.git . - - name: Install shellcheck - run: | - sudo apt-get update - sudo apt-get install -y shellcheck - - name: Find and check shell scripts run: | SCRIPTS=$(find . -name "*.sh" -type f 2>/dev/null || true)