Skip to content

feat: typed-IaC conformance migration to v1.0.0 (issue #8) (#11) #37

feat: typed-IaC conformance migration to v1.0.0 (issue #8) (#11)

feat: typed-IaC conformance migration to v1.0.0 (issue #8) (#11) #37

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Download dependencies
run: go mod download
- name: Build
run: go build ./...
- name: Test
run: go test -race ./... -v -count=1
- name: Vet
run: go vet ./...
wfctl-strict-contracts:
name: Strict Contract Validation
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Validate strict plugin contracts
run: go run github.com/GoCodeAlone/workflow/cmd/wfctl@v0.20.1 plugin validate --file plugin.json --strict-contracts