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 e93d728
Show file tree
Hide file tree
Showing 2 changed files with 29 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
3 changes: 3 additions & 0 deletions .hadolint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ignored:
- DL3040 # `dnf clean all` mmissing after dnf command
- DL3041 # warning: Specify version with `dnf install -y <package>-<version>`

0 comments on commit e93d728

Please sign in to comment.