Skip to content

add build workflow

add build workflow #5

Workflow file for this run

name: "build"
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
cache-dependency-path: 'go.sum'
- name: build cmd
run:
go build ./cmd/optic-programmer.go
- uses: actions/upload-artifact@v4
with:
name: optic-programmer
path: optic-programmer