Skip to content

⬆️ deps: updates dependencies. #31

⬆️ deps: updates dependencies.

⬆️ deps: updates dependencies. #31

Workflow file for this run

name: go
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.13', '1.14', '1.15', '1.16', '1.17', '1.18', '1.19' ]
mongo: [ '4.2', '4.4', '5.0', '6.0' ]
name: Go ${{ matrix.go }} with MongoDB ${{ matrix.mongo }}
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.7.0
with:
mongodb-version: ${{ matrix.mongo }}
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Go Test
run: |
go version
go test -v ./...