Skip to content

build(deps): Bump the actions group across 1 directory with 3 updates #166

build(deps): Bump the actions group across 1 directory with 3 updates

build(deps): Bump the actions group across 1 directory with 3 updates #166

Workflow file for this run

name: golangci-lint
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
schedule:
- cron: "23 6 * * 1"
permissions:
contents: read
pull-requests: read
jobs:
lint:
name: lint
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v7
with:
path: worker
# Sibling checkouts (proto/common) for repos with replace directives.
# No-op for repos that do not need them.
- uses: actions/checkout@v7
if: ${{ hashFiles('worker/go.mod') != '' }}
with:
repository: InstaNode-dev/common
path: common
continue-on-error: true
- uses: actions/checkout@v7
with:
repository: InstaNode-dev/proto
path: proto
continue-on-error: true
- uses: actions/setup-go@v7
with:
go-version-file: worker/go.mod
- uses: golangci/golangci-lint-action@v9
with:
# Pinned (was `latest`) so a new upstream release can't silently
# introduce analyzers/findings that fail a previously-green PR —
# `latest` floated to v2.12.2 and turned on a govet `inline` check
# mid-PR. Bump deliberately + re-run `make gate` when upgrading.
version: v2.12.2
working-directory: worker
args: --timeout=5m