Skip to content

build(deps): bump actions/upload-artifact from 4 to 7 #318

build(deps): bump actions/upload-artifact from 4 to 7

build(deps): bump actions/upload-artifact from 4 to 7 #318

Workflow file for this run

name: MacOS
on: [push, pull_request]
jobs:
build:
name: Tests [Go ${{ matrix.go }} OS ${{ matrix.os }}]
runs-on: ${{ matrix.os }}
timeout-minutes: 20
strategy:
fail-fast: true
matrix:
go: [stable]
os: [macos-latest]
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go }}
- name: Check out code
uses: actions/checkout@v6
- name: Init Go modules Cache
uses: actions/cache@v5
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Install Go dependencies
run: go mod download
- name: Run golang tests on MacOS
run: |
go test -v -race -cover -tags=debug -coverpkg=./... -covermode=atomic ./pkg/frame
go test -v -race -cover -tags=debug -coverpkg=./... -covermode=atomic ./pkg/pipe
go test -v -race -cover -tags=debug -coverpkg=./... -covermode=atomic ./pkg/rpc
go test -v -race -cover -tags=debug -coverpkg=./... -covermode=atomic ./pkg/socket
go test -v -race -cover -tags=debug -coverpkg=./... -covermode=atomic ./internal