Skip to content

Add retry dropped item metrics and an exhausted retry error marker for exporter helper retries #559

Add retry dropped item metrics and an exhausted retry error marker for exporter helper retries

Add retry dropped item metrics and an exhausted retry error marker for exporter helper retries #559

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@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
- name: Set up Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
with:
go-version: stable
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
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."