Skip to content

Update CI

Update CI #219

Workflow file for this run

name: Test
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
jobs:
test:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
go-version: [ '1.21', '1.22' ]
runs-on: ${{ matrix.os }}
timeout-minutes: 10
steps:
- name: Configure git # required for golangci-lint on Windows
shell: bash
run: git config --global core.autocrlf false
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Lint
uses: golangci/golangci-lint-action@v4
with:
skip-cache: true
- name: test
uses: n8maninger/action-golang-test@v2
with:
args: "-race"
skip-go-install: true
show-package-output: true