Skip to content

Module Markdown Optional Fields #1019

Module Markdown Optional Fields

Module Markdown Optional Fields #1019

Workflow file for this run

name: build
on:
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
cache: true
- name: Setup CUE
uses: cue-lang/setup-cue@a93fa358375740cd8b0078f76355512b9208acb1 # main
with:
version: v0.8.1
- name: Run tests
run: make test
- name: Run linter
run: make cue-vet
- name: Run setup action
uses: ./actions/setup
- name: Check if working tree is dirty
run: |
if [[ $(git diff --stat) != '' ]]; then
echo 'run "make test cue-vet" and commit changes'
exit 1
fi