Skip to content

update go122

update go122 #64

Workflow file for this run

name: ci
on: [push, pull_request]
jobs:
test:
name: test and coverage
runs-on: ubuntu-latest
steps:
- name: set up
uses: actions/setup-go@v3
with:
go-version: '>=1.22'
- name: checkout
uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: test
run: go test ./... -race -coverprofile=coverage.out -covermode=atomic -v
- name: upload coverage to Codecov
uses: codecov/codecov-action@v2