1
0
mirror of https://github.com/mgechev/revive.git synced 2025-10-30 23:37:49 +02:00

chore: add macOS test runner (#1465)

This commit is contained in:
Baranov Victor
2025-08-08 13:55:52 +03:00
committed by GitHub
parent 74bbe3b1a6
commit 74e4f6318d

View File

@@ -5,12 +5,16 @@ on:
types: [opened, synchronize, reopened]
jobs:
tests-on-unix:
name: Tests on Unix
runs-on: ubuntu-latest
tests:
name: Tests on ${{ matrix.os }} (Go ${{ matrix.go-version }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- windows-latest
- macos-latest
go-version:
- oldstable
- stable
@@ -23,16 +27,3 @@ jobs:
go-version: ${{ matrix.go-version }}
- name: Run tests
run: go test -race -shuffle=on ./...
tests-on-windows:
name: Tests on Windows
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: stable
- name: Run tests
run: go test -race -shuffle=on ./...