Skip to content

docs: add release docs (#470) #11

docs: add release docs (#470)

docs: add release docs (#470) #11

Workflow file for this run

name: component CTFs
on:
pull_request_target:
push:
branches:
- main
workflow_dispatch:
workflow_call:
permissions:
contents: read
pull-requests: read
jobs:
build-cli:
name: Build component
runs-on: large_runner
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Cache go-build and mod
uses: actions/cache@v4
with:
path: |
~/.cache/go-build/
~/go/pkg/mod/
key: go-${{ hashFiles('go.sum') }}
restore-keys: |
go-
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: '${{ github.workspace }}/go.mod'
- name: CTF
run: |
cd component/
PATH=$PATH:$(go env GOPATH)/bin make ocm && make ctf