Skip to content

Commit

Permalink
tests: Introduce CI
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Kurbatov <sir.alkurbatov@yandex.ru>
  • Loading branch information
alkurbatov committed Oct 15, 2023
1 parent db846b5 commit e82f1b4
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches:
- main
paths:
- .github/workflows/ci.yml
- Dockerfile
pull_request:
paths:
- .github/workflows/ci.yml
- Dockerfile

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: hadolint
uses: hadolint/hadolint-action@v3.1.0
with:
config: .hadolint.yaml
dockerfile: Dockerfile
2 changes: 2 additions & 0 deletions .hadolint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ignored:
- DL3040 # `dnf clean all` mmissing after dnf command

0 comments on commit e82f1b4

Please sign in to comment.