Skip to content

Enable github action for cos #3

Enable github action for cos

Enable github action for cos #3

Workflow file for this run

name: Cos Pull Request Check
env:
TRIGGER_PATH: cos
on:
pull_request:
paths:
- 'cos/**'
push:
paths:
- 'cos/**'
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: build
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Build
run: |
cd ${{ env.TRIGGER_PATH }}
go build -v ./...
- name: Test
run: |
cd ${{ env.TRIGGER_PATH }}
go test -v -gcflags=all=-l ./...