mirror of
https://github.com/hacdias/webdav.git
synced 2026-09-22 03:20:41 +08:00
22 lines
384 B
YAML
22 lines
384 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- v*
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
name: test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: actions/setup-go@v6
|
|
with:
|
|
go-version: "1.26.x"
|
|
- name: Run test with coverage
|
|
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
|