Skip to content

Commit 6be0900

Browse files
committed
UIC-3082: ci: github: Lint build action
It is compliant with yamlint Origin: SiliconLabs/UnifySDK#50 Signed-off-by: Philippe Coval <[email protected]>
1 parent 0a3993a commit 6be0900

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
name: Docker Image CI
1+
# YAML -*- mode: yaml; tab-width: 2; indent-tabs-mode: nil; coding: utf-8 -*-
2+
---
23

3-
on:
4+
name: Build in docker
5+
6+
on: # yamllint disable-line rule:truthy
47
push:
58
branches: [ '*' ]
69
pull_request:
@@ -10,8 +13,8 @@ jobs:
1013
build:
1114
runs-on: ubuntu-22.04
1215
steps:
13-
- uses: actions/[email protected]
14-
with:
15-
fetch-depth: 0
16-
- name: Build Docker image from sources
17-
run: docker build .
16+
- uses: actions/[email protected]
17+
with:
18+
fetch-depth: 0
19+
- name: Build Docker image from sources
20+
run: docker build .

0 commit comments

Comments
 (0)