Skip to content

fix(deps): update module github.com/google/go-github/v69 to v69.2.0 #56

fix(deps): update module github.com/google/go-github/v69 to v69.2.0

fix(deps): update module github.com/google/go-github/v69 to v69.2.0 #56

Workflow file for this run

name: Lint and Test
on:
pull_request:
branches:
- main
workflow_dispatch: # This allows manual triggering of the workflow
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
# Checkout the repository
- name: Checkout Repository
uses: actions/checkout@v4
# Set up Go environment with caching
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.24'
cache: true
# Install dependencies
- name: Install Dependencies
run: go mod download
# Install goimports (required by pre-commit hooks)
- name: Install goimports
run: go install golang.org/x/tools/cmd/goimports@latest
# Run pre-commit hooks
- name: Run Pre-Commit Hooks
uses: pre-commit/[email protected]
with:
extra_args: --all-files
# Run Go tests with coverage
- name: Run Go Tests
run: |
go install golang.org/x/tools/cmd/cover@latest
go test -cover -race -timeout=10m ./...
# Run golangci-lint for static analysis
- name: Run GolangCI-Lint
uses: golangci/golangci-lint-action@v6
with:
version: latest