Skip to content

chore(ci): updated README and build main #10

chore(ci): updated README and build main

chore(ci): updated README and build main #10

Workflow file for this run

name: Build & Test
on:
push:
branches:
- main
pull_request:
paths-ignore:
- 'README.md'
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
args: --timeout=10m
version: v1.60
- name: Build
run: |
go build -ldflags='-s -w'
- name: Run Tests
run: |
go test