Skip to content

ci: Re-enable Homebrew publication #500

ci: Re-enable Homebrew publication

ci: Re-enable Homebrew publication #500

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request: {}
workflow_dispatch: # Allow triggering manually.
jobs:
build:
name: Build & Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Set up go
uses: actions/setup-go@v6
with:
go-version: 1.24
- run: go test -coverprofile=coverage.txt -covermode=atomic ./...
if: matrix.os == 'ubuntu-latest'
- run: go test
if: matrix.os == 'windows-latest'
- uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
if: matrix.os == 'ubuntu-latest'