源文件
.github/workflows/cloudops-validate.yml
离线配置。未部署到任何云账号。
# File-level workflow. It runs tools, check, and test. It does not deploy.
name: cloudops-validate
on:
workflow_dispatch:
push:
branches: [main]
pull_request:
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
timeout-minutes: 40
defaults:
run:
working-directory: cloudops
steps:
- name: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: tools
run: make tools
- name: check
run: make check
- name: test
run: make test