mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-03-12 21:23:05 -07:00
The /latest/download/ URL redirects to the newest release, but the filename was hardcoded to 1.7.7. Pin both tag and filename to avoid breakage on future releases. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
name: lint-infra
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
shellcheck:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Run shellcheck
|
|
run: |
|
|
find . -name "*.sh" \
|
|
-not -path "./hashcat-utils/*" \
|
|
-not -path "./princeprocessor/*" \
|
|
-not -path "./omen/*" \
|
|
-not -path "./PACK/*" \
|
|
-not -path "./build/*" \
|
|
-not -path "./dist/*" \
|
|
-not -path "./.venv/*" \
|
|
-print0 | xargs -0 shellcheck
|
|
|
|
actionlint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Install actionlint
|
|
run: |
|
|
curl -sL https://github.com/rhysd/actionlint/releases/download/v1.7.11/actionlint_1.7.11_linux_amd64.tar.gz | tar xz
|
|
sudo mv actionlint /usr/local/bin/
|
|
|
|
- name: Run actionlint
|
|
run: actionlint
|