-
Notifications
You must be signed in to change notification settings - Fork 23
36 lines (30 loc) · 1.08 KB
/
check-spec.yaml
File metadata and controls
36 lines (30 loc) · 1.08 KB
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
name: RPM
on: # yamllint disable-line rule:truthy
pull_request:
branches: ["main"]
push:
branches: ["main"]
merge_group:
types: ["checks_requested"]
jobs:
check-spec-images-deps:
name: "Check spec file osbuild/images dependencies"
runs-on: ubuntu-latest
container: registry.fedoraproject.org/fedora:latest
env:
# workaround for expired cert at source of indirect dependency
# (go.opencensus.io/trace)
GOPROXY: "https://proxy.golang.org,direct"
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Install dependencies
shell: bash
run: |
# we have the same build-deps as the images library
curl -sL https://raw.githubusercontent.com/osbuild/images/refs/heads/main/pyproject.toml > pyproject.toml
curl -sL https://raw.githubusercontent.com/osbuild/images/refs/heads/main/test/scripts/install-dependencies | bash
- name: Vendor dependencies
run: go mod vendor
- name: Check dependencies in spec file
uses: osbuild/images@check-spec-deps-action