Commit public/ #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | ||
name: CI | ||
on: [push, pull_request] | ||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
container: debian:bookworm | ||
steps: | ||
- run: apt-get update && apt-get install -y sudo git git-lfs | ||
- uses: actions/checkout@v3 | ||
with: | ||
lfs: true | ||
- name: Install Debian packaging dependencies | ||
run: sudo apt install -y python3 rpm | ||
- name: Verify the signatures of all rpm artifacts | ||
run: | | ||
./scripts/check.py --verify --all | ||
metadata: | ||
runs-on: ubuntu-latest | ||
container: debian:bookworm | ||
steps: | ||
- name: Install dependencies | ||
run: | | ||
apt-get update && apt-get install --yes python3 git git-lfs createrepo-c | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
lfs: true | ||
fetch-depth: 0 | ||
- name: Check repository metadata is up-to-date | ||
run: | | ||
git config --global --add safe.directory '*' | ||
shopt -s globstar | ||
# Parse the value out of <revision></revision> | ||
export SOURCE_DATE_EPOCH=$(grep -m 1 "revision" public/**/repomd.xml | cut -d '>' -f 2 | cut -d '<' -f 1) | ||
./tools/publish-real | ||
git status | ||
git diff --exit-code |