REP-5283 Report change event document sizes accurately. (#43) #221
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| push: | |
| branches: | |
| - '*' | |
| tags-ignore: | |
| - '*' | |
| pull_request: | |
| jobs: | |
| basics: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - runsOn: macos-latest | |
| mongodb_distro: mongodb-macos-arm64 | |
| - runsOn: ubuntu-latest | |
| mongodb_distro: mongodb-linux-x86_64-ubuntu1804 | |
| 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.20' | |
| - stable | |
| 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: Test | |
| run: go test -v ./... | |
| env: | |
| MONGODB_DISTRO: ${{matrix.os.mongodb_distro}} |