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