Skip to content

action: query the Go proxy for CUE versions #24

action: query the Go proxy for CUE versions

action: query the Go proxy for CUE versions #24

Workflow file for this run

# Generated by cue cmd genworkflows; do not edit
name: build and test
"on":
pull_request:
types:
- opened
- synchronize
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16
- name: Use CUE
uses: ./
with:
version: v0.4.3
- name: Check CUE version
run: cue version
- name: Run tests
run: |
npm install
npm run test
- name: Build
run: npm run dist
- name: Re-vendor GitHub schemas
run: cue cmd vendorgithubschema
- name: Re-gen GitHub Action schema
run: cue cmd genaction
- name: Re-gen GitHub Actions workflows
run: cue cmd genworkflows
- name: Check commit clean
run: test -z "$(git status --porcelain)" || (git status; git diff; false)