Skip to content

Commit

Permalink
feat: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
foxyseta committed Jun 18, 2024
1 parent 6819e7e commit 4633c04
Show file tree
Hide file tree
Showing 8 changed files with 253 additions and 253 deletions.
22 changes: 11 additions & 11 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
120 changes: 60 additions & 60 deletions .github/workflows/filenames.yml
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
name: Check filenames
on:
workflow_call:

jobs:
check:
name: Check filenames

runs-on: ubuntu-latest
container:
image: ghcr.io/csunibo/filenameslinter:latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1

- uses: actions/checkout@v4
with:
repository: csunibo/config
path: .config

- name: Check the `appunti` folder
run: filenameslinter appunti

- name: Check the `notes` folder
run: filenameslinter notes

- name: Check the `dispense` folder
run: filenameslinter -definition .config/enumerazione.synta dispense

- name: Check the `booklets` folder
run: filenameslinter -definition .config/enumerazione.synta booklets

- name: Check the `esercizi` folder
run: filenameslinter esercizi

- name: Check the `exercises` folder
run: filenameslinter exercises

- name: Check the `lucidi` folder
run: filenameslinter -definition .config/enumerazione.synta lucidi

- name: Check the `slides` folder
run: filenameslinter -definition .config/enumerazione.synta slides

- name: Check the `libri` folder
run: filenameslinter libri

- name: Check the `books` folder
run: filenameslinter books

- name: Check the `prove` folder
run: filenameslinter -definition .config/prove.synta prove

- name: Check the `exams` folder
run: filenameslinter -definition .config/prove.synta exams

- name: Check the `misc` folder
run: filenameslinter misc
name: Check filenames
on:
workflow_call:

jobs:
check:
name: Check filenames

runs-on: ubuntu-latest
container:
image: ghcr.io/csunibo/filenameslinter:latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1

- uses: actions/checkout@v4
with:
repository: csunibo/config
path: .config

- name: Check the `appunti` folder
run: filenameslinter appunti

- name: Check the `notes` folder
run: filenameslinter notes

- name: Check the `dispense` folder
run: filenameslinter -definition .config/enumerazione.synta dispense

- name: Check the `booklets` folder
run: filenameslinter -definition .config/enumerazione.synta booklets

- name: Check the `esercizi` folder
run: filenameslinter esercizi

- name: Check the `exercises` folder
run: filenameslinter exercises

- name: Check the `lucidi` folder
run: filenameslinter -definition .config/enumerazione.synta lucidi

- name: Check the `slides` folder
run: filenameslinter -definition .config/enumerazione.synta slides

- name: Check the `libri` folder
run: filenameslinter libri

- name: Check the `books` folder
run: filenameslinter books

- name: Check the `prove` folder
run: filenameslinter -definition .config/prove.synta prove

- name: Check the `exams` folder
run: filenameslinter -definition .config/prove.synta exams

- name: Check the `misc` folder
run: filenameslinter misc
44 changes: 22 additions & 22 deletions .github/workflows/jsoncheck.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: JSON check

on:
push:
paths:
- "**.json"
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check JSON syntax
uses: limitusus/json-syntax-check@v2
with:
pattern: "\\.json$"
- name: Check JSON formatting
uses: creyD/prettier_action@v4.3
with:
prettier_options: --write **/*.json
only_changed: True
name: JSON check

on:
push:
paths:
- "**.json"
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check JSON syntax
uses: limitusus/json-syntax-check@v2
with:
pattern: "\\.json$"
- name: Check JSON formatting
uses: creyD/prettier_action@v4.3
with:
prettier_options: --write **/*.json
only_changed: True
Loading

0 comments on commit 4633c04

Please sign in to comment.