2020-05-03 15:09:41 -04:00
|
|
|
name: ci
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2020-05-07 14:57:28 -04:00
|
|
|
- 'master'
|
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
|
|
|
pull_request:
|
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
2020-05-03 15:09:41 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
ci:
|
2020-05-03 15:35:54 -04:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
os:
|
|
|
|
- ubuntu-latest
|
|
|
|
- macOS-latest
|
2020-05-05 18:31:46 -04:00
|
|
|
- windows-latest
|
2020-05-03 15:09:41 -04:00
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
-
|
2020-05-05 19:15:33 -04:00
|
|
|
name: Import GPG private key
|
2020-05-07 14:46:52 -04:00
|
|
|
id: import_gpg
|
2020-05-03 15:09:41 -04:00
|
|
|
uses: ./
|
2020-05-04 14:59:11 -04:00
|
|
|
with:
|
2020-05-05 19:21:41 -04:00
|
|
|
git_user_signingkey: true
|
2020-05-05 19:15:33 -04:00
|
|
|
git_commit_gpgsign: true
|
|
|
|
git_tag_gpgsign: true
|
|
|
|
git_push_gpgsign: true
|
2020-05-05 14:05:49 -04:00
|
|
|
git_committer_name: Joe Tester
|
|
|
|
git_committer_email: joe@foo.bar
|
2020-05-03 15:09:41 -04:00
|
|
|
env:
|
2020-05-05 19:15:33 -04:00
|
|
|
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY_TEST }}
|
2020-05-04 10:17:14 -04:00
|
|
|
PASSPHRASE: ${{ secrets.PASSPHRASE_TEST }}
|
2020-05-07 14:46:52 -04:00
|
|
|
-
|
|
|
|
name: GPG user IDs
|
|
|
|
run: |
|
|
|
|
echo "fingerprint: ${{ steps.import_gpg.outputs.fingerprint }}"
|
|
|
|
echo "keyid: ${{ steps.import_gpg.outputs.keyid }}"
|
|
|
|
echo "email: ${{ steps.import_gpg.outputs.email }}"
|