Skip to content

Bump actions/upload-artifact from 97a0fba1372883ab732affbe8f94b823f91727db to c24449f33cd45d4826c6702db7e49f7cdb9b551d #138

Bump actions/upload-artifact from 97a0fba1372883ab732affbe8f94b823f91727db to c24449f33cd45d4826c6702db7e49f7cdb9b551d

Bump actions/upload-artifact from 97a0fba1372883ab732affbe8f94b823f91727db to c24449f33cd45d4826c6702db7e49f7cdb9b551d #138

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
go:
name: Test Go packages
runs-on: ubuntu-latest
container:
image: golang:alpine
env:
GOFLAGS: -buildvcs=false
steps:
- name: Check out repository code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up test environment
run: |
apk add --no-cache bash gcc g++ openssl-dev openssl
go work init
go work use -r .
- name: Test base library
run: go test -v ./...
- name: Test FSIM
run: go test -v ./fsim/...
- name: Test sqlite
run: go test -v ./sqlite/...
- name: Test TPM
run: go test -v ./tpm/...
- name: Test examples
run: go test -v ./examples/...