Property-based tests for majors & strings #2
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
name: CI | |
on: [push, pull_request] | |
jobs: | |
golang: | |
name: Build and test cboring | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [ '1.13', '1.15' ] | |
steps: | |
- name: Set up Go ${{ matrix.go }} | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Build on Go ${{ matrix.go }} | |
run: go build ./... | |
- name: Test | |
run: go test -v ./... | |
golangci: | |
name: Check golangci-lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
version: v1.32 | |
args: --config .github/.golangci.yml |