Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
FGasper committed Oct 30, 2024
1 parent a2fc487 commit 3643c1f
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/all.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:

jobs:
basics:
strategy:
fail-fast: false
matrix:
os:
- runsOn: macos-latest
mongodb_distro: mongodb-macos-arm64

go_version:

# This is hard-coded by design in order to catch inadvertent changes
# to the minimum-required Go version to build migration-verifier.
- 1.19

runs-on: ${matrix.os.runsOn}

steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Fetch Go ${{ matrix.go_version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go_version }}

- name: Build
run: go build main/migration_verifier.go

- name: Lint
run: python3 ./evergreen/go_lint.py

- name: Test
run: go test -v ./...
env:
MONGODB_DISTRO: ${matrix.os.mongodb_distro}

0 comments on commit 3643c1f

Please sign in to comment.