Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SYNC

SYNC #282

Workflow file for this run

name:Test
permissions:
contents:read
concurrency:
group:${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress:true
on:
push:
branches:
-main
paths:
-"**/*.go"
-"go.mod"
-"go.sum"
-".github/workflows/*.yml"
pull_request:
types:[opened, synchronize, reopened]
paths:
-"**/*.go"
-"go.mod"
-"go.sum"
-".github/workflows/*.yml"
workflow_dispatch:
jobs:
test:
runs-on:${{ matrix.os }}
strategy:
fail-fast:false
matrix:
os:[windows-latest, ubuntu-latest, macos-latest]
steps:
-name:Checkout codebase
uses:actions/checkout@v5
with:
fetch-depth:0
fetch-tags:true
-name:Set up Go (built-in cache)
uses:actions/setup-go@v6
with:
go-version:'1.25.x'
check-latest:true
cache:true
-name:Test with unix
if:${{ matrix.os != 'windows-latest' }}
shell:bash
run:|
sudo go env -w GOTOOLCHAIN=go1.25.1+auto
sudo go test -v -ldflags=-checklinkname=0 -covermode=count -coverprofile='coverage.out' ./...
-name:Test with windows
if:${{ matrix.os == 'windows-latest' }}
run:|
go env -w GOTOOLCHAIN=go1.25.1+auto
go test -v -ldflags=-checklinkname=0 -covermode=count -coverprofile="coverage.out" ./...

[8]ページ先頭

©2009-2025 Movatter.jp