Skip to content

upgrade go.mongodb.org/mongo-driver #21

upgrade go.mongodb.org/mongo-driver

upgrade go.mongodb.org/mongo-driver #21

Workflow file for this run

name: Go Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.22"
- name: Download dependencies
run: go mod download -x
- name: Test
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
- uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.txt
flags: unittests
verbose: true