mirror of
https://github.com/ErikReider/SwayNotificationCenter.git
synced 2024-08-16 19:30:33 +03:00
Added rpmlint workflow
This commit is contained in:
parent
ffb33de32b
commit
4153db39d4
29
.github/workflows/linting.yml
vendored
29
.github/workflows/linting.yml
vendored
@ -23,3 +23,32 @@ jobs:
|
||||
dir: src/
|
||||
conf: .vala-lint.conf
|
||||
fail: true
|
||||
|
||||
rpmlint:
|
||||
container: fedora:latest
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install rpmlint
|
||||
run: dnf -y install rpmlint rpkg
|
||||
|
||||
- name: Check out sources
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
path: swaync
|
||||
|
||||
- name: Copy spec into root dir
|
||||
run: |
|
||||
cd swaync
|
||||
cp ./build-scripts/swaync.rpkg.spec ./
|
||||
|
||||
- name: Generate spec
|
||||
run: |
|
||||
cd swaync
|
||||
mkdir -p specs
|
||||
rpkg spec --source --outdir specs
|
||||
|
||||
- name: Start linting
|
||||
run: |
|
||||
cd swaync
|
||||
rpmlint ./specs/swaync.rpkg.spec
|
||||
|
Loading…
Reference in New Issue
Block a user