From e3c771736292c33751dde0a5b260ef7ba4afc635 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 | 18 ++++++++++++++++++ 2 files changed, 18 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..9998073 --- /dev/null +++ b/.github/workflows/check-packages.yml @@ -0,0 +1,18 @@ +--- +name: check-packages + +on: [push, pull_request] + +jobs: + check-sigs: + runs-on: ubuntu-latest + container: fedora:37 + steps: + - uses: actions/checkout@v3 + - name: Install RPM packaging dependencies + run: yum -y update && yum -y install git-lfs + - name: Verify signatures on all RPMs + run: | + git lfs install && git lfs pull + gpg --import fpf-yum-tools-archive-keyring.gpg + ./scripts/publish.py --verify --all \ No newline at end of file