Skip to content

Bump macos-14 runner with macos-15 but keeps macos-13 for free intel #344

Bump macos-14 runner with macos-15 but keeps macos-13 for free intel

Bump macos-14 runner with macos-15 but keeps macos-13 for free intel #344

Workflow file for this run

# https://github.com/golang/go/issues/59968
name: Κ•β—”Ο–β—”Κ”
on:
push:
branches:
- main
paths:
- '.github/workflows/ci-go.yml'
- '**.go'
- 'go.*'
- 'testdata/**'
- 'Makefile.toml'
pull_request:
paths:
- '.github/workflows/ci-go.yml'
- '**.go'
- 'go.*'
- 'testdata/**'
- 'Makefile.toml'
workflow_dispatch:
jobs:
test:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-24.04
- macos-15 # Apple Silicon. Doesn't match for my Intel Mac, but preferring with the speed.
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache-dependency-path: 'go.sum'
- run: go test ./...
- run: go build -v -race ./...
lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache-dependency-path: 'go.sum'
- name: check format
run: go fmt ./... && git add --intent-to-add . && git diff --exit-code
- run: go vet ./...