这是indexloc提供的服务,不要输入任何密码
Skip to content

ci: Fix Git 2.34 workflow #4468

ci: Fix Git 2.34 workflow

ci: Fix Git 2.34 workflow #4468

Workflow file for this run

name: tests
on:
push:
branches: ['main']
paths-ignore:
- "docs/*"
- "**.md"
pull_request:
paths-ignore:
- "docs/*"
- "**.md"
permissions: read-all
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go-version: ['1.24']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Install Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
with:
go-version: ${{ matrix.go-version }}
cache: true
- name: Test
run: go test -race -timeout 20m ./...