Add write to transparency log after building and signing. #274
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR CI | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
env: | |
TAMAGO_VERSION: 1.20.6 | |
TAMAGO: /usr/local/tamago-go/bin/go | |
APPLET_PRIVATE_KEY: /tmp/applet.sec | |
APPLET_PUBLIC_KEY: /tmp/applet.pub | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Install tools | |
run: | | |
wget -q https://github.com/usbarmory/tamago-go/releases/download/tamago-go${TAMAGO_VERSION}/tamago-go${TAMAGO_VERSION}.linux-amd64.tar.gz | |
sudo tar -xf tamago-go${TAMAGO_VERSION}.linux-amd64.tar.gz -C / | |
sudo apt install protobuf-compiler protoc-gen-go signify-openbsd | |
- name: Create throwaway keys | |
run: | | |
signify-openbsd -G -n -p ${APPLET_PUBLIC_KEY} -s ${APPLET_PRIVATE_KEY} | |
- name: Make | |
run: | | |
DEBUG=1 make trusted_applet |