Skip to content

build: publish workflow #3

build: publish workflow

build: publish workflow #3

Workflow file for this run

name: build
on:
push:
branches: [main]
paths-ignore:
- README.md
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Build and Test
run: |
go get .
go build -v .
go test -v ./...