Skip to content

Merge pull request #4 from agentuity/pcks8 #12

Merge pull request #4 from agentuity/pcks8

Merge pull request #4 from agentuity/pcks8 #12

Workflow file for this run

name: Go
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "stable"
- name: Check vulnerabilities
run: |
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Fuzz Testing
run: |
go test -fuzz=FuzzEncryptDecrypt ./crypto -fuzztime=10s
go test -fuzz=FuzzPEMEncoding ./crypto -fuzztime=10s
- name: Benchmark
run: go test -bench=. ./...