File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - ' *'
5+ tags-ignore :
6+ - ' *'
7+ pull_request :
8+
9+ jobs :
10+ basics :
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ os :
15+ - runsOn : macos-latest
16+ mongodb_distro : mongodb-macos-arm64
17+
18+ go_version :
19+
20+ # This is hard-coded by design in order to catch inadvertent changes
21+ # to the minimum-required Go version to build migration-verifier.
22+ - 1.19
23+
24+ runs-on : ${matrix.os.runsOn}
25+
26+ steps :
27+ - name : Check out repository
28+ uses : actions/checkout@v4
29+
30+ - name : Fetch Go ${{ matrix.go_version }}
31+ uses : actions/setup-go@v5
32+ with :
33+ go-version : ${{ matrix.go_version }}
34+
35+ - name : Build
36+ run : go build main/migration_verifier.go
37+
38+ - name : Lint
39+ run : python3 ./evergreen/go_lint.py
40+
41+ - name : Test
42+ run : go test -v ./...
43+ env :
44+ MONGODB_DISTRO : ${matrix.os.mongodb_distro}
You can’t perform that action at this time.
0 commit comments