Drop support for very old Go versions (#258) #163
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: Test | |
on: | |
push: | |
branches: ['*'] | |
tags: ['v*'] | |
pull_request: | |
branches: ['*'] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: ["stable", "oldstable"] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Lint | |
if: matrix.latest | |
run: make lint | |
- name: Test | |
run: make cover | |
- name: Upload coverage to codecov.io | |
uses: codecov/codecov-action@v1 |