Skip to content

sort keys before comparing #58

sort keys before comparing

sort keys before comparing #58

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
mongodb-version: ['4.4.14', '5.0.9', '6.0.11', '7.0.2', 'latest']
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Build
run: make
- name: Start MongoDB
uses: MongoCamp/mongodb-github-action@1.2.0
with:
mongodb-version: ${{ matrix.mongodb-version }}
mongodb-port: 8230
- name: Test
run: make test