Skip to content

bump Go vertion to 1.21 #133

bump Go vertion to 1.21

bump Go vertion to 1.21 #133

Workflow file for this run

name: onlytest
on:
push:
branches:
- main
pull_request:
branches:
- '**'
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v3
with:
go-version: 1.21
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: go install
- name: Test code
run: go test -race -coverprofile="coverage.txt" -covermode=atomic github.com/michimani/go-esa/... -shuffle=on
- name: Upload code coverage to Codecov
uses: codecov/codecov-action@v2