Skip to content

Fix CI

Fix CI #164

Workflow file for this run

name: Go
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Test
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
go-version: [ "1.22.0", "1.23" ]
runs-on: ${{ matrix.os }}
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: build dot command
run: cd ./cmd/dot && go mod download && go build -v .
- name: test
if: ${{ matrix.os != 'windows-latest' }}
run: go test -race -v ./...