-
Notifications
You must be signed in to change notification settings - Fork 5
35 lines (29 loc) · 1.1 KB
/
leaves_pr.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
on: [pull_request]
jobs:
leaf_validator_job:
runs-on: ubuntu-latest
name: Validate pending leaves
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Leaf validator step
id: leaf_validator
uses: AlCutter/serverless/deploy/github/log/leaf_validator@4991150ce2a418ab425ab07e28ab53dd8389ac64
with:
log_dir: './log'
- name: Install golang
run: |
cd /tmp
wget https://golang.org/dl/go1.17.1.linux-amd64.tar.gz
tar xvf go1.17.1.linux-amd64.tar.gz
- name: Compile verify_release tool
run: |
/tmp/go/bin/go build -o /tmp/verify_release ${GITHUB_WORKSPACE}/cmd/verify_release
- name: Signature validator step
id: signature_validator
run: ${GITHUB_WORKSPACE}/.github/workflows/signature_validation.sh
env:
# the actions triggered by a pull_request event do not have access to GH secrets,
# therefore we embed the public key here. This should match keys/armory-drive-test.pub
FR_PUBKEY: armory-drive+5a95a41b+Abfbe1W4+bZB//VfIXxds+SWldvUKRFxKHIy2fyg5nBO