mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 08:21:15 +00:00
There is a mix of v2, v3 and v4 in the codebase. Let's move to v4 everywhere because v2 seems to be using a deprecated version of nodejs. This is throwing warnings when the Github action CI is running. Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
27 lines
528 B
YAML
27 lines
528 B
YAML
name: Lint Dockerfile
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- resources/Dockerfile
|
|
pull_request:
|
|
paths:
|
|
- resources/Dockerfile
|
|
|
|
jobs:
|
|
hadolint:
|
|
name: Run Hadolint Dockerfile Linter
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Lint Dockerfile
|
|
uses: hadolint/hadolint-action@master
|
|
with:
|
|
dockerfile: ./resources/Dockerfile
|
|
format: tty
|
|
no-fail: false
|
|
verbose: true
|
|
failure-threshold: info
|