diff --git a/.github/workflows/buildifier.yml b/.github/workflows/buildifier.yml new file mode 100644 index 00000000..5eef48bc --- /dev/null +++ b/.github/workflows/buildifier.yml @@ -0,0 +1,11 @@ +--- +name: Bazel files check +on: [push] +jobs: + formatting-check: + name: Run buildifier check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Run buildifier + uses: jbajic/buildifier@v1 diff --git a/.github/workflows/yaml-linter.yaml b/.github/workflows/yaml-linter.yaml new file mode 100644 index 00000000..d8f326c5 --- /dev/null +++ b/.github/workflows/yaml-linter.yaml @@ -0,0 +1,17 @@ +--- +name: Yaml Lint +on: [push] # yamllint disable-line rule:truthy +jobs: + lintAllTheThings: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: yaml-lint + uses: ibiqlik/action-yamllint@v3 + with: + config_data: | + rules: + line-length: + max: 300 + allow-non-breakable-words: true + allow-non-breakable-inline-mappings: true