Skip to content

Bump github.com/sirupsen/logrus from 1.8.1 to 1.8.3 in /receiver/chro… #6

Bump github.com/sirupsen/logrus from 1.8.1 to 1.8.3 in /receiver/chro…

Bump github.com/sirupsen/logrus from 1.8.1 to 1.8.3 in /receiver/chro… #6

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
- run: ./.github/workflows/scripts/free-disk-space.sh
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # 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."
- run: ./.github/workflows/scripts/check-disk-space.sh