Skip to content

Commit ce2e644

Browse files
authored
Merge pull request #80 from mulkieran/yamllint-annotation
Disable yamllint rule prohibiting long lines for all files
2 parents 1446d39 + dd5ea05 commit ce2e644

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ jobs:
3232
target: ${{ matrix.target }}
3333
override: true
3434
- name: Cross
35-
# yamllint disable rule:line-length
3635
run: cargo install --git https://github.com/cross-rs/cross.git --rev bb3df1b cross
3736

3837
- name: Run cargo check
@@ -98,7 +97,6 @@ jobs:
9897
repository: stratis-storage/ci
9998
persist-credentials: false
10099
- name: Run comparisons of version specs with Fedora packages
101-
# yamllint disable rule:line-length
102100
run: |
103101
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=rawhide IGNORE_ARGS="--ignore-category low" make -f Makefile check-fedora-versions
104102
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f43 IGNORE_ARGS="--ignore-category low" make -f Makefile check-fedora-versions

.github/workflows/nightly.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ jobs:
3939
repository: stratis-storage/ci
4040
persist-credentials: false
4141
- name: Run comparisons of version specs with Fedora packages
42-
# yamllint disable rule:line-length
4342
run: |
4443
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=rawhide make -f Makefile check-fedora-versions
4544
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f43 make -f Makefile check-fedora-versions

.yamllint.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
extends: default
3+
4+
rules:
5+
line-length: disable

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ check-fedora-versions: test-compare-fedora-versions
2727
${COMPARE_FEDORA_VERSIONS} ${FEDORA_RELEASE_ARGS} ${IGNORE_ARGS}
2828

2929
yamllint:
30-
yamllint --strict .github/workflows/*.yml
30+
yamllint --strict .github/workflows/*.yml .yamllint.yaml
3131
fmt:
3232
cargo fmt
3333

0 commit comments

Comments
 (0)