Skip to content

build(deps): bump actions/checkout from 4.2.1 to 4.2.2 #2758

build(deps): bump actions/checkout from 4.2.1 to 4.2.2

build(deps): bump actions/checkout from 4.2.1 to 4.2.2 #2758

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions: read-all
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: false
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: go.ver
cache-dependency-path: tools/golangci-lint/go.sum
- name: Lint code
run: make lint
format:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
show-progress: false
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: go.ver
cache-dependency-path: tools/gofumpt/go.sum
- name: Format code
run: make format
- name: Check for local changes
run: git diff --exit-code