Skip to content

Update README.md

Update README.md #643

Workflow file for this run

# GitHub Actions - CI for Go to build & test. See ci-go-cover.yml and linters.yml for code coverage and linters.
# Taken from: https://github.com/fxamacker/cbor/workflows/ci.yml (thanks!)
name: ci
on: [push, pull_request]
jobs:
# Test on various OS with default Go version.
tests:
strategy:
fail-fast: false
matrix:
go-version: [1.21, 1.22]
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- name: Checkout code
uses: actions/checkout@v3
- name: Run tests
run: go test -race -v -coverprofile=coverage.txt .
- name: Upload coverage to codecov.io
uses: codecov/codecov-action@v3