Skip to content

Editorconfig-checker #17

Editorconfig-checker

Editorconfig-checker #17

---
name: editorconfig-checker
run-name: Editorconfig-checker
on:
pull_request:
branches:
- "main"
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
skip_duplicate_actions:
name: Skip Duplicate Actions
runs-on: ubuntu-latest
steps:
- uses: fkirc/skip-duplicate-actions@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
cancel_others: true
concurrent_skipping: never
editorconfig_checker:
name: Editorconfig-checker
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go latest
uses: actions/setup-go@v5
with:
go-version: stable
- name: Editorconfig-checker
run: |
go install github.com/editorconfig-checker/editorconfig-checker/v3/cmd/editorconfig-checker@latest
editorconfig-checker -verbose