Skip to content

feat(horaectl): impl horaectl in rs (#1481) #106

feat(horaectl): impl horaectl in rs (#1481)

feat(horaectl): impl horaectl in rs (#1481) #106

Workflow file for this run

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: HoraeMeta CI
on:
push:
branches:
- main
paths:
- 'src/**'
- 'integration_tests/**'
- 'horaemeta/**'
- '.github/workflows/meta-ci.yml'
pull_request:
paths:
- 'src/**'
- 'integration_tests/**'
- 'horaemeta/**'
- '.github/workflows/meta-ci.yml'
workflow_dispatch:
jobs:
style-check:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
with:
go-version: 1.21.3
- working-directory: ./horaemeta
run: |
make install-tools
make check
unit-test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.21.3
- working-directory: ./horaemeta
run: |
make install-tools
make test
integration-test:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.21.3
- working-directory: ./integration_tests
run: |
sudo apt install -y protobuf-compiler
make run