Add support for CWT Claims & Type in Protected Headers (#189) #636
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |