Skip to content

Commit

Permalink
Run rpmlint in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
thebeanogamer committed May 28, 2023
1 parent b6f10e9 commit f0f8c18
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Lint Codebase
on: push

jobs:
lint:
python:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -47,3 +47,17 @@ jobs:
uses: mikepenz/action-junit-report@v3
with:
report_paths: '**/flake8.xml'

rpm:
runs-on: ubuntu-latest
container: docker.io/library/fedora:38

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install dependencies
run: dnf install rpmlint -y

- name: Lint RPM Spec File
run: rpmlint -v hstsparser.spec

0 comments on commit f0f8c18

Please sign in to comment.