mirror of
https://github.com/go-task/task.git
synced 2026-06-11 09:51:50 +00:00
31 lines
622 B
YAML
31 lines
622 B
YAML
name: Test
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
tags:
|
|
- v*
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
go-version: [1.25.x, 1.26.x]
|
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
|
runs-on: ${{matrix.platform}}
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Set up Go ${{matrix.go-version}}
|
|
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
|
with:
|
|
go-version: ${{matrix.go-version}}
|
|
|
|
- name: Test
|
|
run: go run ./cmd/task test
|