Skip to content

Commit c5d76e1

Browse files
committed
feat(ci): Test basic rpmlint functionality
Tests against DevPod spec
1 parent c60190c commit c5d76e1

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/test-action.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Test Action
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths-ignore:
7+
- '**.md'
8+
- '**.txt'
9+
merge_group:
10+
workflow_dispatch:
11+
12+
jobs:
13+
push-ghcr:
14+
name: Test
15+
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
packages: write
19+
id-token: write
20+
strategy:
21+
fail-fast: false
22+
steps:
23+
- name: Perform checkout
24+
uses: actions/checkout@v4
25+
26+
- name: Fetch spec
27+
run: |
28+
wget https://raw.githubusercontent.com/ublue-os/packages/main/staging/devpod/devpod.spec
29+
30+
- name: Test rpmlint
31+
uses: ./
32+
with:
33+
rpmfiles: ./devpod.spec

0 commit comments

Comments
 (0)