Skip to content

chore(deps): update module go.uber.org/zap to v1.27.1 (#14385) #696

chore(deps): update module go.uber.org/zap to v1.27.1 (#14385)

chore(deps): update module go.uber.org/zap to v1.27.1 (#14385) #696

name: Lint GitHub Workflow YAML Files
on:
push:
branches:
- main
pull_request:
paths:
- '.github/workflows/*.yml'
- '.github/workflows/*.yaml'
- '.github/actionlint.yaml'
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Set up Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6
with:
go-version: stable
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: |
~/go/bin
~/go/pkg/mod
key: go-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/go.sum') }}
- name: Run Actionlint
run: |
make actionlint
- name: Reminder to Address Linting Errors
if: failure()
run: echo "⚠️ Please address all linting errors before merging this pull request."
- name: All linting checks passed
if: success()
run: echo "✅ All linting checks passed."