github.com/transparency-dev/armored-witness-boot@v0.1.0/.github/workflows/pr_build.yml (about) 1 name: PR CI 2 3 on: [push, pull_request] 4 5 permissions: # added using https://github.com/step-security/secure-repo 6 contents: read 7 8 jobs: 9 build: 10 env: 11 TAMAGO_VERSION: 1.22.0 12 TAMAGO: /usr/local/tamago-go/bin/go 13 LOG_ORIGIN: throwaway.transparency.dev/armored-witness-boot/pr-build/0 14 LOG_PRIVATE_KEY: /tmp/log.sec 15 LOG_PUBLIC_KEY: /tmp/log.pub 16 OS_PRIVATE_KEY1: /tmp/os1.sec 17 OS_PUBLIC_KEY1: /tmp/os1.pub 18 OS_PRIVATE_KEY2: /tmp/os2.sec 19 OS_PUBLIC_KEY2: /tmp/os2.pub 20 runs-on: ubuntu-latest 21 steps: 22 - uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 23 - name: Install tools 24 run: | 25 wget -q https://github.com/usbarmory/tamago-go/releases/download/tamago-go${TAMAGO_VERSION}/tamago-go${TAMAGO_VERSION}.linux-amd64.tar.gz 26 sudo tar -xf tamago-go${TAMAGO_VERSION}.linux-amd64.tar.gz -C / 27 - name: Create throwaway keys 28 run: | 29 go run github.com/transparency-dev/serverless-log/cmd/generate_keys@HEAD --key_name="DEV-LOG" --out_priv=${LOG_PRIVATE_KEY} --out_pub=${LOG_PUBLIC_KEY} 30 go run github.com/transparency-dev/serverless-log/cmd/generate_keys@HEAD --key_name="DEV-OS1" --out_priv=${OS_PRIVATE_KEY1} --out_pub=${OS_PUBLIC_KEY1} 31 go run github.com/transparency-dev/serverless-log/cmd/generate_keys@HEAD --key_name="DEV-OS2" --out_priv=${OS_PRIVATE_KEY2} --out_pub=${OS_PUBLIC_KEY2} 32 - name: Make 33 run: | 34 DEBUG=1 make