File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change 5
5
- main
6
6
pull_request :
7
7
jobs :
8
- test :
8
+ build :
9
9
strategy :
10
10
matrix :
11
- # Disabling windows builds while we fix installing PostgreSQL 16
12
- # os: [ubuntu-24.04, macos-14, windows-2022]
13
- os : [ubuntu-24.04]
14
- # Workaround no native support for conditional matrix items
15
- # https://github.com/orgs/community/discussions/26253#discussioncomment-6745038
16
- # isMain:
17
- # - ${{ github.ref == 'refs/heads/main' }}
18
- # exclude:
19
- # - isMain: false
20
- # include:
21
- # - os: ubuntu-24.04
22
- name : test ${{ matrix.os }}
23
- runs-on : ${{ matrix.os }}
24
-
11
+ goos : [darwin, linux, windows]
12
+ goarch : [amd64, arm64]
13
+ name : build ${{ matrix.goos }}/${{ matrix.goarch }}
14
+ runs-on : ubuntu-24.04
15
+ steps :
16
+ - uses : actions/checkout@v5
17
+ - uses : actions/setup-go@v5
18
+ with :
19
+ go-version : ' 1.25.0'
20
+ - run : go build ./...
21
+ env :
22
+ CGO_ENABLED : " 0"
23
+ GOOS : ${{ matrix.goos }}
24
+ GOARCH : ${{ matrix.goarch }}
25
+ test :
26
+ runs-on : ubuntu-24.04
25
27
steps :
26
28
- uses : actions/checkout@v5
27
29
- uses : actions/setup-go@v5
You can’t perform that action at this time.
0 commit comments