chore: import upstream snapshot with attribution
Deploy to GitHub Pages / deploy (push) Failing after 0s
CI / go (push) Has been cancelled
CI / build (darwin, macos-14) (push) Has been cancelled
CI / build (windows, windows-2025) (push) Has been cancelled

This commit is contained in:
wehub-resource-sync
2026-07-13 12:31:13 +08:00
commit ead81af521
414 changed files with 73946 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
name: CI
on:
push:
pull_request:
permissions:
contents: read
jobs:
go:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- run: sudo apt-get update && sudo apt-get install -y libasound2-dev shellcheck
- run: go install honnef.co/go/tools/cmd/staticcheck@v0.6.1
- run: go install golang.org/x/vuln/cmd/govulncheck@v1.1.4
- run: make fmt-check vet staticcheck security
- run: go test -count=1 -race ./...
- run: make coverage
- run: shellcheck install.sh
- run: git diff --exit-code
build:
strategy:
fail-fast: false
matrix:
include:
- os: macos-14
goos: darwin
- os: windows-2025
goos: windows
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go test -count=1 ./...
- run: go build -trimpath ./...