2022-07-12 18:16:21 +03:00
|
|
|
name: macOS
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- dev
|
|
|
|
- release
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: build
|
|
|
|
runs-on: macos-11
|
|
|
|
steps:
|
|
|
|
- name: Install Go
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
with:
|
|
|
|
go-version: '1.18.3'
|
|
|
|
- name: Checkout
|
2023-02-12 00:50:31 +03:00
|
|
|
uses: actions/checkout@v3
|
2022-07-12 18:16:21 +03:00
|
|
|
- name: Run unit tests
|
|
|
|
run: go test
|
|
|
|
- name: "Run macOS smoke tests"
|
|
|
|
run: make smoketest-macos
|