From 8b2f357fe071317f065f61da7e60d54241248333 Mon Sep 17 00:00:00 2001 From: "E. Lee" Date: Mon, 18 Dec 2023 15:11:04 -0500 Subject: [PATCH] Migrate to GitHub Actions from CircleCI --- .circleci/config.yml | 25 ------------------------ .github/workflows/check-packages.yml | 29 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 25 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .github/workflows/check-packages.yml 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