mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-06 09:27:16 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](755da8c3cf...ac59398561)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
40 lines
975 B
YAML
40 lines
975 B
YAML
name: core-api-test
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'apis/**'
|
|
- 'pkg/oam/**'
|
|
- "hack/apis/**"
|
|
branches:
|
|
- master
|
|
- release-*
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
core-api-test:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: Set up Go 1.19
|
|
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
|
|
env:
|
|
GO_VERSION: '1.19'
|
|
with:
|
|
go-version: ${{ env.GO_VERSION }}
|
|
id: go
|
|
|
|
- name: Check out code into the Go module directory
|
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
|
|
|
|
- name: Get the version
|
|
id: get_version
|
|
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
|
|
|
|
- name: Test build kubevela-core-api
|
|
env:
|
|
VERSION: ${{ steps.get_version.outputs.VERSION }}
|
|
COMMIT_ID: ${{ github.sha }}
|
|
run: |
|
|
bash ./hack/apis/clientgen.sh
|
|
bash ./hack/apis/sync.sh test |