Skip to content

fix: gofmt formatting across entire codebase #134

fix: gofmt formatting across entire codebase

fix: gofmt formatting across entire codebase #134

Workflow file for this run

name: CI
on:
push:
branches-ignore:
- "dependabot/**" # Skip dependabot branches (they create PRs)
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-go@v6
with:
go-version-file: "go.mod"
cache: true
- name: Lint
uses: golangci/golangci-lint-action@v9
with:
version: latest
- name: Test
run: go test -race -coverprofile=coverage.txt -timeout=2m ./...
- name: Upload coverage to Codecov
if: github.ref == 'refs/heads/main'
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.txt
fail_ci_if_error: false
- name: Vulncheck
run: |
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...