Skip to content

Merge pull request #60 from TankerHQ/max-go-1.23 #196

Merge pull request #60 from TankerHQ/max-go-1.23

Merge pull request #60 from TankerHQ/max-go-1.23 #196

Workflow file for this run

name: Tests
on: [push]
jobs:
run_tests:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.22', '1.23' ]
steps:
- uses: actions/checkout@v1
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Run tests
run: go test ./...
coverage:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.22', '1.23' ]
steps:
- uses: actions/checkout@v1
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Run tests
run: go test -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3