Skip to content

ci: optimize minutes #1

ci: optimize minutes

ci: optimize minutes #1

name: "[github-actions] lint"
on:
push:
branches:
- main
paths:
- ".github/**"
pull_request:
paths:
- ".github/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
defaults:
run:
shell: bash
working-directory: ./backend
permissions:
contents: read
jobs:
actionlint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check workflow files
run: |
echo "::add-matcher::.github/actionlint-matcher.json"
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
./actionlint -color
shell: bash