]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
cifuzz: reindent yaml file
authorSami Kerola <kerolasa@iki.fi>
Tue, 1 Sep 2020 19:23:36 +0000 (20:23 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sat, 14 Nov 2020 15:22:34 +0000 (15:22 +0000)
Fixex two yamllint indentation warning, the truthy is false positive.

    util-linux $ yamllint ./.github/workflows/cifuzz.yml
      6:1       warning  truthy value should be one of [false, true]  (truthy)
      14:2      error    wrong indentation: expected 2 but found 1  (indentation)
      22:4      error    wrong indentation: expected 5 but found 3  (indentation)

Reference: https://github.com/adrienverge/yamllint
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
.github/workflows/cifuzz.yml

index c883232f3420baaa282772ee7521c3af20b21787..b3d25e3098e63c99231f136ec8356584a831cfe2 100644 (file)
@@ -11,32 +11,32 @@ on:
     paths:
       - '**'
 jobs:
- Fuzzing:
-   runs-on: ubuntu-latest
-   if: github.repository == 'karelzak/util-linux'
-   strategy:
-     fail-fast: false
-     matrix:
-       sanitizer: [address, undefined, memory]
-   steps:
-   - name: Build Fuzzers (${{ matrix.sanitizer }})
-     id: build
-     uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
-     with:
-       oss-fuzz-project-name: 'util-linux'
-       dry-run: false
-       allowed-broken-targets-percentage: 0
-       sanitizer: ${{ matrix.sanitizer }}
-   - name: Run Fuzzers (${{ matrix.sanitizer }})
-     uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
-     with:
-       oss-fuzz-project-name: 'util-linux'
-       fuzz-seconds: 180
-       dry-run: false
-       sanitizer: ${{ matrix.sanitizer }}
-   - name: Upload Crash
-     uses: actions/upload-artifact@v1
-     if: failure() && steps.build.outcome == 'success'
-     with:
-       name: ${{ matrix.sanitizer }}-artifacts
-       path: ./out/artifacts
 Fuzzing:
+    runs-on: ubuntu-latest
+    if: github.repository == 'karelzak/util-linux'
+    strategy:
+      fail-fast: false
+      matrix:
+        sanitizer: [address, undefined, memory]
+    steps:
+      - name: Build Fuzzers (${{ matrix.sanitizer }})
+        id: build
+        uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
+        with:
+          oss-fuzz-project-name: 'util-linux'
+          dry-run: false
+          allowed-broken-targets-percentage: 0
+          sanitizer: ${{ matrix.sanitizer }}
+      - name: Run Fuzzers (${{ matrix.sanitizer }})
+        uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
+        with:
+          oss-fuzz-project-name: 'util-linux'
+          fuzz-seconds: 180
+          dry-run: false
+          sanitizer: ${{ matrix.sanitizer }}
+      - name: Upload Crash
+        uses: actions/upload-artifact@v1
+        if: failure() && steps.build.outcome == 'success'
+        with:
+          name: ${{ matrix.sanitizer }}-artifacts
+          path: ./out/artifacts