Skip to content

update ci tool version #352

update ci tool version

update ci tool version #352

Workflow file for this run

name: Test
on: [push, pull_request]
env:
GODEBUG: tracebackancestors=1000
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21
- name: lint
if: matrix.os == 'ubuntu-latest'
run: go run github.com/ysmood/golangci-lint@latest -v 1.58.0
- name: test
env:
TERM: xterm-256color
run: go test -coverprofile="coverage.out" ./...
- name: coverage
if: matrix.os == 'ubuntu-latest'
run: go run ./cmd/check-cov