-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (40 loc) · 1017 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
name: ci
on: [push, pull_request, merge_group]
jobs:
lint:
runs-on: ubuntu-latest
container:
image: registry.fedoraproject.org/fedora:37
steps:
- run: dnf install -y git make
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install dependencies
run: |
make test-deps
- name: Run linters
run: |
git config --global --add safe.directory '*'
make lint
build-rpm:
runs-on: ubuntu-latest
container:
image: registry.fedoraproject.org/fedora:37
steps:
- run: dnf install -y git make
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install dependencies
run: |
make build-deps
- name: Build RPM
run: |
git config --global --add safe.directory '*'
make build-rpm
- name: Check reproducibility
run: |
make test-deps
make reprotest