Skip to content

Merge pull request #34 from beetlebugorg/fix/portrayal-conformance #261

Merge pull request #34 from beetlebugorg/fix/portrayal-conformance

Merge pull request #34 from beetlebugorg/fix/portrayal-conformance #261

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v6
with:
go-version: '1.26'
cache: true
- name: Format check
run: test -z "$(gofmt -l .)" || (gofmt -l . && exit 1)
- name: Vet
run: go vet ./...
- name: Test
run: go test ./...
- name: Build
run: go build ./...
govulncheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v6
with:
go-version: '1.26'
cache: true
- name: Vulnerability scan
run: go run golang.org/x/vuln/cmd/govulncheck@latest ./...