Skip to content

Commit

Permalink
[ci] Fix formatting
Browse files Browse the repository at this point in the history
Please run `npm i; npm run format:github` to reformat.

Signed-off-by: Roman Tsisyk <[email protected]>
  • Loading branch information
rtsisyk committed Aug 14, 2021
1 parent 083df4e commit bd0e3ad
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 53 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/android-beta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@ on:
branches:
- master
paths-ignore:
- .github/**
- '**/*_tests/**'
- '**/CMakeLists.txt'
- CONTRIBUTORS
- LICENSE
- NOTICE
- README.md
- iphone/**
- xcode/**
- docs/**
- generator/**
- packaging/**
- pyhelpers/**
- qt*/**
- skin_generator/**
- track_generator/**
- .github/**
- '**/*_tests/**'
- '**/CMakeLists.txt'
- CONTRIBUTORS
- LICENSE
- NOTICE
- README.md
- iphone/**
- xcode/**
- docs/**
- generator/**
- packaging/**
- pyhelpers/**
- qt*/**
- skin_generator/**
- track_generator/**

jobs:
android-google-beta:
Expand Down Expand Up @@ -75,4 +75,4 @@ jobs:
shell: bash
working-directory: android
run: |
./gradlew appDistributionUploadGoogleBeta
./gradlew appDistributionUploadGoogleBeta
32 changes: 16 additions & 16 deletions .github/workflows/android-monkey.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ on:
branches:
- master
paths-ignore:
- .github/**
- '**/*_tests/**'
- '**/CMakeLists.txt'
- CONTRIBUTORS
- LICENSE
- NOTICE
- README.md
- iphone/**
- xcode/**
- docs/**
- generator/**
- packaging/**
- pyhelpers/**
- qt*/**
- skin_generator/**
- track_generator/**
- .github/**
- '**/*_tests/**'
- '**/CMakeLists.txt'
- CONTRIBUTORS
- LICENSE
- NOTICE
- README.md
- iphone/**
- xcode/**
- docs/**
- generator/**
- packaging/**
- pyhelpers/**
- qt*/**
- skin_generator/**
- track_generator/**

jobs:
android-google-debug:
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/ios-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ on:
workflow_dispatch: # Manual trigger
pull_request:
paths-ignore:
- .github/**
- '**/*_tests/**'
- '**/CMakeLists.txt'
- CONTRIBUTORS
- LICENSE
- NOTICE
- README.md
- android/**
- docs/**
- generator/**
- packaging/**
- pyhelpers/**
- qt*/**
- skin_generator/**
- track_generator/**
- .github/**
- '**/*_tests/**'
- '**/CMakeLists.txt'
- CONTRIBUTORS
- LICENSE
- NOTICE
- README.md
- android/**
- docs/**
- generator/**
- packaging/**
- pyhelpers/**
- qt*/**
- skin_generator/**
- track_generator/**

jobs:
ios-check:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/linux-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ jobs:

strategy:
matrix:
compiler: [
{ CXX: g++-10, CC: gcc-10 },
{ CXX: clang++, CC: clang },
]
compiler: [{ CXX: g++-10, CC: gcc-10 }, { CXX: clang++, CC: clang }]

steps:
- name: Checkout sources
Expand Down
5 changes: 5 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
trailingComma: 'es5'
tabWidth: 2
printWidth: 80
semi: false
singleQuote: true
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"version": "1.0.0",
"description": "Tools and helpers",
"scripts": {
"format:docs": "prettier --write README.md 'docs/**/*.md' 'tools/python/**/*.md'"
"format:docs": "prettier --write README.md 'docs/**/*.md' 'tools/python/**/*.md'",
"format:github": "prettier --write '.prettierrc.yaml' '.github/**/*.yaml' '.github/*.yml'"
},
"author": "Alexander Borsuk <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit bd0e3ad

Please sign in to comment.