Skip to content

Commit 884a5fe

Browse files
committed
CI: build and lint on macOS
1 parent 08aa455 commit 884a5fe

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

.cirrus.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
task:
22
name: Lint
33

4-
container:
5-
image: golangci/golangci-lint:latest
4+
macos_instance:
5+
image: ghcr.io/cirruslabs/macos-runner:sonoma
66

7-
script: golangci-lint run -v --timeout 4m0s --out-format json > golangci.json
7+
install_script:
8+
- brew install golangci-lint
9+
10+
lint_script:
11+
- golangci-lint run -v --timeout 4m0s --out-format json > golangci.json
812

913
always:
1014
report_artifacts:
@@ -14,7 +18,11 @@ task:
1418
task:
1519
name: Build
1620

17-
container:
18-
image: golang:latest
21+
macos_instance:
22+
image: ghcr.io/cirruslabs/macos-runner:sonoma
23+
24+
install_script:
25+
- brew install go
1926

20-
script: make build
27+
build_script:
28+
- make build

0 commit comments

Comments
 (0)