Skip to content

修复 event 案例错误,为 redirect 添加重定向配置 #21

修复 event 案例错误,为 redirect 添加重定向配置

修复 event 案例错误,为 redirect 添加重定向配置 #21

Workflow file for this run

name: Go Test
on:
push:
branches: [ "main" ]
paths:
- '**.go'
- 'go.mod'
pull_request:
branches: [ "main" ]
paths:
- '**.go'
- 'go.mod'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Install dependencies
run: go mod download
- name: Run tests with coverage
run: make test lint
- uses: codecov/codecov-action@v5
with:
files: ./coverage.txt
token: ${{ secrets.CODECOV_TOKEN }}