Skip to content

ci: synchronize renovate and gha #26

ci: synchronize renovate and gha

ci: synchronize renovate and gha #26

Workflow file for this run

name: golang
on:
pull_request:
push:
branches: ["main"]
jobs:
test:
name: Test and cover
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 10
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- uses: gwatts/go-coverage-action@v2
id: coverage
with:
fail-coverage: never
cover-pkg: ./...
golangci:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
checks: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=3m