Migrate to GitHub Actions from CircleCI #12
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: check-packages | |
on: [push, pull_request] | |
jobs: | |
check-sigs: | |
runs-on: ubuntu-latest | |
container: | |
image: fedora:37 | |
options: --user root | |
steps: | |
- name: Install RPM packaging dependencies | |
run: yum -y update && yum -y install git git-lfs | |
- run: cat /etc/*release | |
- run: | | |
cat /etc/*release | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
lfs: true | |
- run: git lfs install | |
- run: git lfs checkout | |
- run: git lfs pull | |
- name: Verify signatures on all RPMs | |
run: | | |
git lfs install && git lfs checkout && git lfs pull | |
gpg --import fpf-yum-tools-archive-keyring.gpg | |
./scripts/publish.py --verify --all |