Skip to content

Simplify SCAI predicate TypeURI #59

Simplify SCAI predicate TypeURI

Simplify SCAI predicate TypeURI #59

Workflow file for this run

name: Run Go tests
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'go/**'
# Want to trigger these tests whenever the attestation
# libraries are regenerated, or new modules/tests are
# added to the language bindings
pull_request:
paths:
- 'go/**'
permissions: read-all
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Install Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: 1.20.x
- name: Format
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
- name: Setup Env
run: |
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Run tests
run: |
make go_test