Skip to content

Enable Go 1.20 and 1.21 in ci (#69) #40

Enable Go 1.20 and 1.21 in ci (#69)

Enable Go 1.20 and 1.21 in ci (#69) #40

Workflow file for this run

on: [push, pull_request]
name: Continuous Integration
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.14', '1.15', '1.16', '1.18', '1.19', '1.20', '1.21']
name: Running with Go ${{ matrix.go }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Checkout code
uses: actions/checkout@v2
- name: Run the tests
run: go test -coverprofile=coverage.txt -covermode=count ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
files: coverage.txt