Skip to content

removing mgo references by upgrading mgo dependent pkgs to the versions using mongo-go-driver #207

removing mgo references by upgrading mgo dependent pkgs to the versions using mongo-go-driver

removing mgo references by upgrading mgo dependent pkgs to the versions using mongo-go-driver #207

Workflow file for this run

name: build-go
on:
push:
branches:
- master
pull_request:
defaults:
run:
shell: bash
env:
GO111MODULE: on
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- "1.20"
- "1.21"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
cache: true
- name: setup
run: |
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
- name: build
run: |
make
- uses: PaloAltoNetworks/[email protected]
with:
main_branch: master
cov_file: unit_coverage.out
cov_threshold: "91"
cov_mode: coverage