This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
Bump golangci/golangci-lint-action from 5 to 6 #109
Workflow file for this run
This file contains 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 on pull requests (or manually) | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: PR - Linters | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Run markdown lint | |
uses: actionshub/[email protected] | |
- name: Run action lint | |
run: | | |
echo "::add-matcher::.github/actionlint-matcher.json" | |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) | |
./actionlint -color -shellcheck= | |
shell: bash | |
- name: Run golangci lint | |
if: github.event_name == 'pull_request' | |
uses: reviewdog/action-golangci-lint@v2 |