Skip to content

Commit

Permalink
UIC-3082: ci: github: Lint build action
Browse files Browse the repository at this point in the history
It is compliant with yamlint

Origin: SiliconLabs#50
Signed-off-by: Philippe Coval <[email protected]>
  • Loading branch information
rzr committed Jan 27, 2025
1 parent e4fdf37 commit 67544e7
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Docker Image CI
# YAML -*- mode: yaml; tab-width: 2; indent-tabs-mode: nil; coding: utf-8 -*-
---

on:
name: Build in docker

on: # yamllint disable-line rule:truthy
push:
branches: [ '*' ]
pull_request:
Expand All @@ -10,8 +13,8 @@ jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Build Docker image from sources
run: docker build .
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Build Docker image from sources
run: docker build .

0 comments on commit 67544e7

Please sign in to comment.