Skip to content

Added the version command that returns build information (#17) #56

Added the version command that returns build information (#17)

Added the version command that returns build information (#17) #56

Workflow file for this run

# PR Builder Action
name: Build
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Run the tests
run: make test
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
install-only: true
- name: Build OpenHue CLI
run: make build