-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (49 loc) · 1.66 KB
/
lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
name: Lint
"on":
workflow_call:
inputs:
continue-on-error:
type: boolean
description: Allow a workflow run to pass when this workflow fails
required: false
default: false
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
continue-on-error: ${{ inputs.continue-on-error }}
steps:
- name: Checkout
# yamllint disable-line rule:line-length
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Setup just
# yamllint disable-line rule:line-length
uses: extractions/setup-just@dd310ad5a97d8e7b41793f8ef055398d51ad4de6 # v2.0.0
with:
# renovate: datasource=crate depName=just
just-version: 1.36.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Python
# yamllint disable-line rule:line-length
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
# renovate: datasource=docker depName=python versioning=docker
python-version: 3.13.0
cache: pip
- name: Install dependencies
run: just install-dependencies
- name: Lint
# yamllint disable-line rule:line-length
uses: github/super-linter/slim@45fc0d88288beee4701c62761281edfee85655d7 # v5.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BRANCH: main
VALIDATE_ALL_CODEBASE: false
IGNORE_GENERATED_FILES: true
IGNORE_GITIGNORED_FILES: true
YAML_ERROR_ON_WARNING: true
FILTER_REGEX_EXCLUDE: .*vault\.yml