Skip to content

build(deps): bump actions/checkout from 6.0.1 to 6.0.2 #4015

build(deps): bump actions/checkout from 6.0.1 to 6.0.2

build(deps): bump actions/checkout from 6.0.1 to 6.0.2 #4015

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
show-progress: false
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
show-progress: false
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version-file: go.ver
cache-dependency-path: tools/golangci-lint/go.sum
- name: Format code
run: make format
- name: Check for local changes
run: git diff --exit-code