docs: add v0.4.1 changelog entry #25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| name: test (${{ matrix.os }}, go ${{ matrix.go-version }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| go-version: ["1.25", "1.26"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Verify Go modules | |
| run: go mod verify | |
| - name: Build | |
| run: go build ./cmd/sin-websearch | |
| - name: Test | |
| # Windows runners lack ffmpeg and other sidecar binaries; build+vet only there. | |
| if: matrix.os != 'windows-latest' | |
| run: go test ./... | |
| - name: Vet | |
| run: go vet ./... | |
| install: | |
| name: install (${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Test install.sh | |
| shell: bash | |
| run: | | |
| INSTALL_DIR=$(mktemp -d) | |
| ./install.sh --dir "${INSTALL_DIR}" | |
| "${INSTALL_DIR}/sin-websearch" --help | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.26" | |
| - name: golangci-lint | |
| uses: golangci/golangci-lint-action@v6 | |
| with: | |
| version: latest | |
| args: --timeout=5m |