Update README documentation with attachment changes #7
Workflow file for this run
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: go tests | |
on: [push, pull_request] | |
jobs: | |
gotest: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
go: [1.19] | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: go setup | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: build | |
run: go build -v ./... | |
- name: test | |
run: go test -race -coverprofile coverage.txt -covermode atomic | |
- name: upload coverage | |
uses: codecov/codecov-action@v3 | |
with: | |
files: coverage.txt |