Skip to content

build(deps): Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 in /tests #855

build(deps): Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 in /tests

build(deps): Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 in /tests #855

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/get-diff-action@v6.1.2
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/get-diff-action@v6.1.2
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