Skip to content

chore: upgrade Go version to 1.21 and go mod tidy #185

chore: upgrade Go version to 1.21 and go mod tidy

chore: upgrade Go version to 1.21 and go mod tidy #185

Workflow file for this run

name: Tests
on: [push]
jobs:
run_tests:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.20' ]
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
steps:
- uses: actions/checkout@v1
- name: Set up Go 1.20
uses: actions/setup-go@v1
with:
go-version: '1.20'
- name: Run tests
run: go test -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3