[patch] replaced usage of deprecated package ioutil #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
testold: | |
name: "Test with Go 1.13" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go 1.13 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.13 | |
- name: Test | |
run: go test -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v /cmd) | |
testlatest: | |
name: "Test with default latest Go" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go latest | |
uses: actions/setup-go@v3 | |
- name: Test | |
run: go test -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v /cmd) |