2021-02-21 14:45:42 +01:00
|
|
|
---
|
|
|
|
name: Lint
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
|
2023-01-15 17:27:41 +01:00
|
|
|
concurrency:
|
2022-05-21 11:33:21 +02:00
|
|
|
group: lint-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2021-02-21 14:45:42 +01:00
|
|
|
jobs:
|
|
|
|
lint:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-03-04 14:49:51 +01:00
|
|
|
- uses: actions/checkout@v3
|
2021-02-21 14:45:42 +01:00
|
|
|
|
2023-03-26 12:40:05 +02:00
|
|
|
- name: Check formatting with Prettier
|
2023-01-20 22:28:48 +01:00
|
|
|
uses: actionsx/prettier@e90ec5455552f0f640781bdd5f5d2415acb52f1a
|
2021-02-21 14:45:42 +01:00
|
|
|
with:
|
|
|
|
# prettier CLI arguments.
|
2023-03-26 12:40:05 +02:00
|
|
|
args: --check .
|