Skip to content

Merge pull request #132 from michimani/dependabot/github_actions/dot-… #139

Merge pull request #132 from michimani/dependabot/github_actions/dot-…

Merge pull request #132 from michimani/dependabot/github_actions/dot-… #139

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.22
uses: actions/setup-go@v3
with:
go-version: 1.22
- 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