-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into formalize-yoneda-embedding
- Loading branch information
Showing
18 changed files
with
2,145 additions
and
741 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,22 @@ | ||
name: Code autoformatting | ||
name: File formatting | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
# Make sure the actual branch is checked out when running on pull requests | ||
ref: ${{ github.head_ref }} | ||
# This is important to fetch the changes to the previous commit | ||
fetch-depth: 0 | ||
|
||
- name: Run Prettier | ||
- name: Prettier | ||
uses: creyD/[email protected] | ||
with: | ||
prettier_options: --write **/*.{md,json,yaml,yml} | ||
commit_options: --allow-empty | ||
# Update the current commit instead of creating a new one. Only works if checkout fetch depth is set to `0` | ||
same_commit: true | ||
# Prettify changed files. Only works if checkout fetch depth is set to `0` | ||
only_changed: true | ||
dry: true | ||
prettier_options: --check **/*.{md,json,yaml,yml} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"recommendations": [ | ||
"nikolaikudasovfizruk.rzk-1-experimental-highlighting", | ||
"esbenp.prettier-vscode" | ||
] | ||
"recommendations": [ | ||
"nikolaikudasovfizruk.rzk-1-experimental-highlighting", | ||
"esbenp.prettier-vscode" | ||
] | ||
} |
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
Oops, something went wrong.