Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ jobs:
if: ${{ inputs.lint-dprint }}
continue-on-error: ${{ ! inputs.lint-fail-on-error }}
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand All @@ -122,6 +123,7 @@ jobs:
uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
with:
install: true
install_args: "dprint"
version: ${{ inputs.mise-version }}

- name: Check formatting with dprint
Expand All @@ -142,6 +144,7 @@ jobs:
if: ${{ inputs.lint-yamlfmt }}
continue-on-error: ${{ ! inputs.lint-fail-on-error }}
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand All @@ -152,6 +155,7 @@ jobs:
uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
with:
install: true
install_args: "yamlfmt"
version: ${{ inputs.mise-version }}

- name: Check YAML formatting
Expand All @@ -171,6 +175,7 @@ jobs:
if: ${{ inputs.lint-yamllint }}
continue-on-error: ${{ ! inputs.lint-fail-on-error }}
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand All @@ -181,6 +186,7 @@ jobs:
uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
with:
install: true
install_args: "uv pipx:yamllint"
version: ${{ inputs.mise-version }}

- name: Run yamllint
Expand All @@ -200,6 +206,7 @@ jobs:
if: ${{ inputs.lint-actionlint }}
continue-on-error: ${{ ! inputs.lint-fail-on-error }}
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand All @@ -210,6 +217,7 @@ jobs:
uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
with:
install: true
install_args: "actionlint"
version: ${{ inputs.mise-version }}

- name: Run actionlint
Expand All @@ -220,6 +228,7 @@ jobs:
if: ${{ inputs.lint-gitleaks }}
continue-on-error: ${{ ! inputs.lint-fail-on-error }}
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand All @@ -231,6 +240,7 @@ jobs:
uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
with:
install: true
install_args: "gitleaks"
version: ${{ inputs.mise-version }}

- name: Run gitleaks
Expand All @@ -248,6 +258,7 @@ jobs:
if: ${{ inputs.lint-go }}
continue-on-error: ${{ ! inputs.lint-fail-on-error }}
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand Down Expand Up @@ -289,6 +300,7 @@ jobs:
if: ${{ inputs.lint-shellcheck }}
continue-on-error: ${{ ! inputs.lint-fail-on-error }}
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand All @@ -299,6 +311,7 @@ jobs:
uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
with:
install: true
install_args: "shellcheck"
version: ${{ inputs.mise-version }}

- name: Run shellcheck
Expand Down Expand Up @@ -332,6 +345,7 @@ jobs:
if: ${{ inputs.lint-shfmt }}
continue-on-error: ${{ ! inputs.lint-fail-on-error }}
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand All @@ -342,6 +356,7 @@ jobs:
uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
with:
install: true
install_args: "shfmt"
version: ${{ inputs.mise-version }}

- name: Run shfmt
Expand All @@ -359,6 +374,7 @@ jobs:
if: ${{ inputs.lint-checkov }}
continue-on-error: ${{ ! inputs.lint-fail-on-error }}
runs-on: ubuntu-24.04
timeout-minutes: 15
permissions:
contents: read
security-events: write
Expand All @@ -372,6 +388,7 @@ jobs:
uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
with:
install: true
install_args: "uv pipx:checkov"
version: ${{ inputs.mise-version }}

- name: Run checkov
Expand Down Expand Up @@ -403,6 +420,7 @@ jobs:
if: ${{ inputs.lint-trivy }}
continue-on-error: ${{ ! inputs.lint-fail-on-error }}
runs-on: ubuntu-24.04
timeout-minutes: 15
permissions:
contents: read
security-events: write
Expand All @@ -416,6 +434,7 @@ jobs:
uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
with:
install: true
install_args: "trivy"
version: ${{ inputs.mise-version }}

- name: Run trivy
Expand Down Expand Up @@ -443,6 +462,7 @@ jobs:
if: ${{ inputs.lint-zizmor }}
continue-on-error: ${{ ! inputs.lint-fail-on-error }}
runs-on: ubuntu-24.04
timeout-minutes: 10
permissions:
contents: read
security-events: write
Expand All @@ -456,6 +476,7 @@ jobs:
uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
with:
install: true
install_args: "zizmor"
version: ${{ inputs.mise-version }}

- name: Run zizmor
Expand All @@ -473,6 +494,7 @@ jobs:
if: ${{ inputs.lint-config-drift }}
continue-on-error: ${{ ! inputs.lint-fail-on-error }}
runs-on: ubuntu-24.04
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand Down
Loading