Skip to content

Commit

Permalink
Merge branch 'main' of github.com:boyxp/OnSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
boyxp committed Jan 17, 2024
2 parents 16ebc53 + 2f97d66 commit 2324609
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 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: Test

on:
push:
branches: [ "main" ]

jobs:

build:
runs-on: ubuntu-latest
strategy:
matrix:
mongodb-version: ['4.2', '4.4', '5.0', '6.0']
steps:
- name: Git checkout
uses: actions/checkout@v3

- name: Start MongoDB
uses: supercharge/mongodb-github-action@1.10.0
with:
mongodb-version: ${{ matrix.mongodb-version }}

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: Test
run: go test -v ./MongoDB

0 comments on commit 2324609

Please sign in to comment.