Skip to content

Separate into modules for plugin and CLI to avoid versioning issues. #13

Separate into modules for plugin and CLI to avoid versioning issues.

Separate into modules for plugin and CLI to avoid versioning issues. #13

Workflow file for this run

name: Build Main
on:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
# git checkout
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
# Go env
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
# make test
- name: Test
run: go test -v ./...
build:
runs-on: ubuntu-latest
steps:
# git checkout
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
# Go env
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
# make build
- name: Build
run: go build -v cmd/grafana-app-sdk/*.go