Skip to content

chore(deps): bump actions/checkout from 5 to 6 #16495

chore(deps): bump actions/checkout from 5 to 6

chore(deps): bump actions/checkout from 5 to 6 #16495

Workflow file for this run

name: Lint
on:
push:
branches:
- v2
pull_request:
workflow_dispatch:
env:
GO_VERSION: "1.25"
jobs:
go-lint:
name: "Lint Go"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v9.2.0
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v2.7.1
args: --timeout=10m
ui-lint:
name: "Lint UI"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "18"
cache: "npm"
cache-dependency-path: ui/package-lock.json
- name: Lint
run: |
npm ci
npm run lint
working-directory: ui
shellcheck:
name: "Shellcheck"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
scandir: "."
format: gcc
severity: warning
check_together: "yes"
go-mod-tidy:
name: "Go Mod Tidy"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true
cache: true
- name: Run go mod tidy.
run: go mod tidy
- name: Ensure clean git state.
run: git diff-index --quiet HEAD -- || (echo "Please run 'go mod tidy' and commit changes." && exit 1)