diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 3bf545c..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,25 +0,0 @@ ---- -version: 2.1 -common-steps: - - &installdeps - run: - name: Install RPM packaging dependencies - command: | - yum -y update && yum -y install git-lfs -jobs: - check-sigs: - docker: - - image: fedora:37 - steps: - - checkout - - *installdeps - - run: - name: Verify signatures on all RPMs - command: | - git lfs install && git lfs pull - gpg --import fpf-yum-tools-archive-keyring.gpg - ./scripts/publish.py --verify --all -workflows: - check-packages: - jobs: - - check-sigs diff --git a/.github/workflows/check-packages.yml b/.github/workflows/check-packages.yml new file mode 100644 index 0000000..9a72a11 --- /dev/null +++ b/.github/workflows/check-packages.yml @@ -0,0 +1,29 @@ +--- +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 \ No newline at end of file