chore(deps): bump github.com/go-git/go-git/v5 from 5.16.4 to 5.16.5 #152
Workflow file for this run
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: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| # Allow manual trigger | |
| workflow_dispatch: | |
| jobs: | |
| go-tests: | |
| name: Go Tests | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.25.0" | |
| check-latest: true | |
| cache: true | |
| cache-dependency-path: go.sum | |
| - name: Run Go Tests | |
| run: | | |
| go test -race -count=1 ./internal/... -coverprofile=coverage.out | |
| go install github.com/boumenot/gocover-cobertura@latest | |
| gocover-cobertura < coverage.out > coverage.xml | |
| - name: Code Coverage Report | |
| if: github.event_name == 'pull_request' | |
| uses: irongut/CodeCoverageSummary@v1.3.0 | |
| with: | |
| filename: coverage.xml | |
| badge: true | |
| fail_below_min: true | |
| format: markdown | |
| hide_branch_rate: false | |
| hide_complexity: true | |
| indicators: true | |
| output: both | |
| thresholds: "60 80" | |
| - name: Code Coverage Comment | |
| uses: marocchino/sticky-pull-request-comment@v2 | |
| if: github.event_name == 'pull_request' | |
| with: | |
| recreate: true | |
| path: code-coverage-results.md | |
| frontend-checks: | |
| name: Frontend Tests & Build | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pull-requests: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.25.0" | |
| check-latest: true | |
| cache: true | |
| cache-dependency-path: go.sum | |
| - name: Cache APT packages | |
| uses: awalsh128/cache-apt-pkgs-action@latest | |
| with: | |
| packages: libgtk-3-dev libwebkit2gtk-4.1-dev | |
| version: 1.0 | |
| execute_install_scripts: false | |
| - name: Cache Wails CLI | |
| id: cache-wails | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/go/bin/wails3 | |
| key: wails-cli-${{ runner.os }}-${{ hashFiles('go.mod') }} | |
| - name: Install Wails CLI | |
| if: steps.cache-wails.outputs.cache-hit != 'true' | |
| run: | | |
| go install github.com/wailsapp/wails/v3/cmd/wails3@latest | |
| - name: Setup Wails CLI PATH | |
| run: | | |
| mkdir -p /usr/local/bin | |
| cp $(go env GOPATH)/bin/wails3 /usr/local/bin/wails | |
| chmod +x /usr/local/bin/wails | |
| echo "/usr/local/bin" >> $GITHUB_PATH | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v1 | |
| with: | |
| bun-version: latest | |
| - name: Cache Bun dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| frontend/node_modules | |
| ~/.bun/install/cache | |
| key: bun-deps-${{ runner.os }}-${{ hashFiles('frontend/bun.lockb') }} | |
| restore-keys: | | |
| bun-deps-${{ runner.os }}- | |
| - name: Install frontend dependencies | |
| run: | | |
| cd frontend && bun install | |
| - name: Generate Wails bindings | |
| run: | | |
| wails generate bindings | |
| - name: Format check | |
| run: | | |
| cd frontend && bun run format:check | |
| - name: Build frontend | |
| run: | | |
| cd frontend && bun run build | |
| - name: Run frontend tests | |
| run: | | |
| cd frontend && bun run test |