Skip to content

Commit 15ac148

Browse files
committed
workflow to test gpg signatures
1 parent fd6785c commit 15ac148

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: gpg
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
paths:
8+
- '.github/workflows/gpg_signatures.yml'
9+
- 'lib/CPAN/Audit/DB.pm'
10+
- 'briandfoy-gpg-key-selfie.jpeg'
11+
- '**.gpg'
12+
pull_request:
13+
14+
jobs:
15+
gpg:
16+
runs-on: ubuntu-20.04
17+
steps:
18+
- name: setup GPG
19+
run: |
20+
sudo apt-get update
21+
sudo apt-get -y install gnupg
22+
gpg --keyserver keys.openpgp.org --recv-keys 75AAB42CBA0D7F37F0D6886DF83F8D5E878B6041 867D53B08E433DF401A06EF49A9C0FE7F64876BF
23+
- uses: actions/checkout@v3
24+
- name: Check DB
25+
run: |
26+
gpg --verify lib/CPANSA/DB.pm.gpg lib/CPANSA/DB.pm
27+
gpg --verify cpan-security-advisory.json.gpg cpan-security-advisory.json
28+
- name: Check selfie
29+
run: |
30+
gpg --verify images/bdfoycpanorg-gpg-key-selfie.jpeg.gpg images/briandfoy-gpg-key-selfie.jpeg
31+
gpg --verify images/briandfoypoboxcom-gpg-key-selfie.jpeg.gpg images/briandfoy-gpg-key-selfie.jpeg

0 commit comments

Comments
 (0)