Adds time verification details to architecture.md #81
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
# This workflow will build a golang project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: Go | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.22.0' | |
- name: Set up test key file | |
run: touch key.json; echo '{"P":176710961577974071832521516734948107434379290995054135678377926887468534652958472697367075354324461719668324807851175357710861424103511736494721487722521618661979189861666974900286919265752882755081888239631041261926087712955187153895044444139262602098274193464612287778145417585243732456223702980252482800607,"Q":936740874907832322597073450305505540686093890839,"G":66338311998643740385592236297523734607291072262747574002827806646765759347578028906262545335254698340865022790720236359111635375690506312853546869479901979625966397642498694334404414779727800645079381176552870763788174643332992237364701458853360770858316912247987518479326167293393641172504050429292469552362,"Y":64244278129796220984308516308581584308703712837003863598763156309553886525253628558079316628219151041190800669874808521243184174440995125855239453773862898510844631551127581148179655008701275119233851325142282163446843934153132074289854988558134281847156797444608405282138915527468485562006937260313806116514,"X":168338422700846386557052656420636674919045077559}' > key.json | |
- name: Build | |
run: env GOOS=linux GOARCH=amd64 go build -v -o builds/node/node_linux_x86_64 | |
- name: Test | |
run: go test -v |