Skip to content

feat:修订文档name命名,确保与文件类型匹配 (#50) #128

feat:修订文档name命名,确保与文件类型匹配 (#50)

feat:修订文档name命名,确保与文件类型匹配 (#50) #128

Workflow file for this run

name: Build
on:
push:
branches:
- main
- v0.2.x
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.20', '1.21', '1.22']
name: Go ${{ matrix.go }} sample
steps:
- uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Depend
run: sudo make dependencies
- name: Test
run: |
sudo make lint
sudo make cover
- name: CodeCov
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage.txt
- name: Pre-Build
run: sudo git fetch --prune --unshallow
- name: Build
run: sudo make release