feat(azuremonitorexporter): add support for authenticator extensions … #42
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6 | |
id: go-setup | |
with: | |
go-version: oldstable | |
cache-dependency-path: "**/*.sum" | |
- name: Install dependencies | |
if: steps.go-setup.outputs.cache-hit != 'true' | |
run: make -j2 gomoddownload | |
- name: Install Tools | |
if: steps.go-setup.outputs.cache-hit != 'true' | |
run: make install-tools | |
- 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. Run 'make actionlint' locally to check your files." | |
- name: All linting checks passed | |
if: success() | |
run: echo "✅ All linting checks passed." |