Skip to content

[Hacker Rank] Interview Preparation Kit: Sorting: Comparator. Solved ✅. #340

[Hacker Rank] Interview Preparation Kit: Sorting: Comparator. Solved ✅.

[Hacker Rank] Interview Preparation Kit: Sorting: Comparator. Solved ✅. #340

Workflow file for this run

---
name: YAML lint
on: # yamllint disable-line rule:truthy
push:
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: Install yamllint
run: pip install yamllint
- name: Lint YAML files
run: >
yamllint --strict .
&& echo '✔ Your code looks good.'