Skip to content

build(deps): Bump google.golang.org/protobuf from 1.35.1 to 1.35.2 in /x/evidence #852

build(deps): Bump google.golang.org/protobuf from 1.35.1 to 1.35.2 in /x/evidence

build(deps): Bump google.golang.org/protobuf from 1.35.1 to 1.35.2 in /x/evidence #852

Workflow file for this run

name: Lint
on:
push:
branches:
- main
- release/**
pull_request:
merge_group:
workflow_dispatch:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: golangci-lint
strategy:
matrix:
go: [stable]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23"
check-latest: true
- uses: technote-space/[email protected]
id: git_diff
with:
PATTERNS: |
Makefile
**/Makefile
.golangci.yml
- name: run linting (long)
if: github.event_name == 'workflow_dispatch' || env.GIT_DIFF
id: lint_long
run: |
echo "restore me"
# make lint
- uses: technote-space/[email protected]
if: steps.lint_long.outcome == 'skipped'
id: git_diff_all
with:
PATTERNS: |
**/*.go
go.mod
go.sum
**/go.mod
**/go.sum
- name: run linting (short)
if: steps.lint_long.outcome == 'skipped' && env.GIT_DIFF
run: |
echo "restore me"
# make lint
env:
GIT_DIFF: ${{ env.GIT_DIFF }}
LINT_DIFF: 1