mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-27 08:56:18 +00:00
## Why this should be merged These workflows are required by branch protection for release branches, but aren't run automatically so release PRs can't currently be merged. ## How this works Extends the `branches` filters of necessary workflows. ## How this was tested n/a
25 lines
472 B
YAML
25 lines
472 B
YAML
name: golangci-lint
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, 'release/**' ]
|
|
pull_request:
|
|
branches: [ main, 'release/**' ]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
golangci:
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: stable
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v6
|
|
with:
|
|
version: v1.60
|