mirror of
https://github.com/theoludwig/libcproject.git
synced 2024-11-13 23:43:13 +01:00
chore: better Prettier config for easier reviews
This commit is contained in:
parent
e0115dd7d9
commit
211648d29f
@ -1,2 +1,2 @@
|
|||||||
BasedOnStyle: 'Google'
|
BasedOnStyle: "Google"
|
||||||
ColumnLimit: 0
|
ColumnLimit: 0
|
||||||
|
8
.github/ISSUE_TEMPLATE/BUG.md
vendored
8
.github/ISSUE_TEMPLATE/BUG.md
vendored
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
name: '🐛 Bug Report'
|
name: "🐛 Bug Report"
|
||||||
about: 'Report an unexpected problem or unintended behavior.'
|
about: "Report an unexpected problem or unintended behavior."
|
||||||
title: '[Bug]'
|
title: "[Bug]"
|
||||||
labels: 'bug'
|
labels: "bug"
|
||||||
---
|
---
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
|
8
.github/ISSUE_TEMPLATE/DOCUMENTATION.md
vendored
8
.github/ISSUE_TEMPLATE/DOCUMENTATION.md
vendored
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
name: '📜 Documentation'
|
name: "📜 Documentation"
|
||||||
about: 'Correct spelling errors, improvements or additions to documentation files (README, CONTRIBUTING...).'
|
about: "Correct spelling errors, improvements or additions to documentation files (README, CONTRIBUTING...)."
|
||||||
title: '[Documentation]'
|
title: "[Documentation]"
|
||||||
labels: 'documentation'
|
labels: "documentation"
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- Please make sure your issue has not already been fixed. -->
|
<!-- Please make sure your issue has not already been fixed. -->
|
||||||
|
8
.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
vendored
8
.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md
vendored
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
name: '✨ Feature Request'
|
name: "✨ Feature Request"
|
||||||
about: 'Suggest a new feature idea.'
|
about: "Suggest a new feature idea."
|
||||||
title: '[Feature]'
|
title: "[Feature]"
|
||||||
labels: 'feature request'
|
labels: "feature request"
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- Please make sure your issue has not already been fixed. -->
|
<!-- Please make sure your issue has not already been fixed. -->
|
||||||
|
8
.github/ISSUE_TEMPLATE/IMPROVEMENT.md
vendored
8
.github/ISSUE_TEMPLATE/IMPROVEMENT.md
vendored
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
name: '🔧 Improvement'
|
name: "🔧 Improvement"
|
||||||
about: 'Improve structure/format/performance/refactor/tests of the code.'
|
about: "Improve structure/format/performance/refactor/tests of the code."
|
||||||
title: '[Improvement]'
|
title: "[Improvement]"
|
||||||
labels: 'improvement'
|
labels: "improvement"
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- Please make sure your issue has not already been fixed. -->
|
<!-- Please make sure your issue has not already been fixed. -->
|
||||||
|
8
.github/ISSUE_TEMPLATE/QUESTION.md
vendored
8
.github/ISSUE_TEMPLATE/QUESTION.md
vendored
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
name: '🙋 Question'
|
name: "🙋 Question"
|
||||||
about: 'Further information is requested.'
|
about: "Further information is requested."
|
||||||
title: '[Question]'
|
title: "[Question]"
|
||||||
labels: 'question'
|
labels: "question"
|
||||||
---
|
---
|
||||||
|
|
||||||
### Question
|
### Question
|
||||||
|
44
.github/workflows/ci.yml
vendored
44
.github/workflows/ci.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: 'CI'
|
name: "CI"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -8,33 +8,33 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- uses: 'actions/checkout@v3.5.3'
|
- uses: "actions/checkout@v3.5.3"
|
||||||
|
|
||||||
- run: 'sudo apt update'
|
- run: "sudo apt update"
|
||||||
|
|
||||||
- name: 'Install Build Tools'
|
- name: "Install Build Tools"
|
||||||
run: 'sudo apt install --yes build-essential gcc make clang-format'
|
run: "sudo apt install --yes build-essential gcc make clang-format"
|
||||||
|
|
||||||
- name: 'Install Documentation Tools'
|
- name: "Install Documentation Tools"
|
||||||
run: 'sudo apt install --yes doxygen doxygen-gui doxygen-doc graphviz'
|
run: "sudo apt install --yes doxygen doxygen-gui doxygen-doc graphviz"
|
||||||
|
|
||||||
- run: 'gcc --version'
|
- run: "gcc --version"
|
||||||
|
|
||||||
- run: 'make'
|
- run: "make"
|
||||||
- run: 'make run'
|
- run: "make run"
|
||||||
- run: 'make test'
|
- run: "make test"
|
||||||
- run: 'make lint'
|
- run: "make lint"
|
||||||
- run: 'make documentation'
|
- run: "make documentation"
|
||||||
- run: 'make set_version'
|
- run: "make set_version"
|
||||||
- run: 'make clean'
|
- run: "make clean"
|
||||||
|
|
||||||
lint-commit:
|
lint-commit:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- uses: 'actions/checkout@v3.5.3'
|
- uses: "actions/checkout@v3.5.3"
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: 'wagoid/commitlint-github-action@v5.4.1'
|
- uses: "wagoid/commitlint-github-action@v5.4.1"
|
||||||
|
44
.github/workflows/release.yml
vendored
44
.github/workflows/release.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: 'Release'
|
name: "Release"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -6,52 +6,52 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: 'ubuntu-latest'
|
runs-on: "ubuntu-latest"
|
||||||
steps:
|
steps:
|
||||||
- uses: 'actions/checkout@v3.5.3'
|
- uses: "actions/checkout@v3.5.3"
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: 'Import GPG key'
|
- name: "Import GPG key"
|
||||||
uses: 'crazy-max/ghaction-import-gpg@v5.3.0'
|
uses: "crazy-max/ghaction-import-gpg@v5.3.0"
|
||||||
with:
|
with:
|
||||||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
|
||||||
git_user_signingkey: true
|
git_user_signingkey: true
|
||||||
git_commit_gpgsign: true
|
git_commit_gpgsign: true
|
||||||
|
|
||||||
- run: 'sudo apt update'
|
- run: "sudo apt update"
|
||||||
|
|
||||||
- name: 'Install Build Tools'
|
- name: "Install Build Tools"
|
||||||
run: 'sudo apt install --yes build-essential gcc make clang-format'
|
run: "sudo apt install --yes build-essential gcc make clang-format"
|
||||||
|
|
||||||
- name: 'Install Documentation Tools'
|
- name: "Install Documentation Tools"
|
||||||
run: 'sudo apt install --yes doxygen doxygen-gui doxygen-doc graphviz'
|
run: "sudo apt install --yes doxygen doxygen-gui doxygen-doc graphviz"
|
||||||
|
|
||||||
- run: 'make set_version'
|
- run: "make set_version"
|
||||||
|
|
||||||
- name: 'Use Node.js'
|
- name: "Use Node.js"
|
||||||
uses: 'actions/setup-node@v3.7.0'
|
uses: "actions/setup-node@v3.7.0"
|
||||||
with:
|
with:
|
||||||
node-version: '18.17.0'
|
node-version: "18.17.0"
|
||||||
|
|
||||||
- name: 'Install Release Tools'
|
- name: "Install Release Tools"
|
||||||
run: 'npm install --save-dev semantic-release@21.0.7 @commitlint/cli@17.6.7 @commitlint/config-conventional@17.6.7 @semantic-release/git@10.0.1 @semantic-release/exec@6.0.3 @saithodev/semantic-release-backmerge@3.2.0 vercel@31.2.2'
|
run: "npm install --save-dev semantic-release@21.0.7 @commitlint/cli@17.6.7 @commitlint/config-conventional@17.6.7 @semantic-release/git@10.0.1 @semantic-release/exec@6.0.3 @saithodev/semantic-release-backmerge@3.2.0 vercel@31.2.2"
|
||||||
|
|
||||||
- run: 'rm --force package.json package-lock.json'
|
- run: "rm --force package.json package-lock.json"
|
||||||
|
|
||||||
- name: 'Release'
|
- name: "Release"
|
||||||
run: 'npx semantic-release'
|
run: "npx semantic-release"
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||||
GIT_COMMITTER_NAME: ${{ secrets.GIT_NAME }}
|
GIT_COMMITTER_NAME: ${{ secrets.GIT_NAME }}
|
||||||
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_EMAIL }}
|
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_EMAIL }}
|
||||||
|
|
||||||
- name: 'Generate Documentation'
|
- name: "Generate Documentation"
|
||||||
run: 'make documentation'
|
run: "make documentation"
|
||||||
|
|
||||||
- name: 'Deploy to Vercel'
|
- name: "Deploy to Vercel"
|
||||||
run: 'npx vercel ./documentation/html --token="${VERCEL_TOKEN}" --prod'
|
run: 'npx vercel ./documentation/html --token="${VERCEL_TOKEN}" --prod'
|
||||||
env:
|
env:
|
||||||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user