Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .chezmoiignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ README.md
CODEOWNERS

.serena
AGENTS.md
CLAUDE.md

# VS Code
## Workspace file for local
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/assign.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Auto Assign"
run-name: "${{ github.workflow }} (${{ github.ref_name }}): ${{ github.event.pull_request.title }}"
name: 'Auto Assign'
run-name: '${{ github.workflow }} (${{ github.ref_name }}): ${{ github.event.pull_request.title }}'
on:
pull_request:
types: [opened, reopened, ready_for_review]
Expand Down
33 changes: 21 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
markdown: ${{ steps.filter.outputs.markdown }}
markdown_files: ${{ steps.filter.outputs.markdown_files }}
shellscript: ${{ steps.filter.outputs.shellscript }}
dprint: ${{ steps.filter.outputs.dprint }}
if: ${{ !github.event.pull_request.draft }}
steps:
- name: Assign yourself to this PR
Expand Down Expand Up @@ -50,6 +51,11 @@ jobs:
- 'dot_profile'
- 'dot_zprofile'
- 'dot_zsh*'
dprint:
- '**/*.md'
- '**/*.yaml'
- '**/*.yml'
- '**/*.toml'

lint:
name: Lint
Expand All @@ -65,19 +71,22 @@ jobs:
if: ${{ needs.setup.outputs.shellscript == 'true' }}
uses: mfinelli/setup-shfmt@a25fda4c1fe115aec0f85e04126610841bc3141d # v4.0.1
with:
shfmt-version: "3.13.1"
shfmt-version: '3.13.1'
- parallel:
- name: Check formatting (shfmt)
if: ${{ needs.setup.outputs.shellscript == 'true' }}
run: find . -type f \( -name 'dot_profile' -o -name 'dot_z*' -o -name '*.sh' -o -name '*.zsh' \) | grep -Ev 'examples/*' | xargs shfmt -d
- name: ShellCheck
if: ${{ needs.setup.outputs.shellscript == 'true' }}
run: find . -type f \( -name 'dot_profile' -o -name 'dot_z*' -o -name '*.sh' -o -name '*.zsh' \) | grep -Ev 'examples/*' | xargs shellcheck
- name: Markdown lint
if: ${{ needs.setup.outputs.markdown == 'true' }}
uses: DavidAnson/markdownlint-cli2-action@8de2aa07cae85fd17c0b35642db70cf5495f1d25 # v24.0.0
with:
globs: ${{ needs.setup.outputs.markdown_files }}
- name: Check formatting (shfmt)
if: ${{ needs.setup.outputs.shellscript == 'true' }}
run: find . -type f \( -name 'dot_profile' -o -name 'dot_z*' -o -name '*.sh' -o -name '*.zsh' \) | grep -Ev 'examples/*' | xargs shfmt -d
- name: ShellCheck
if: ${{ needs.setup.outputs.shellscript == 'true' }}
run: find . -type f \( -name 'dot_profile' -o -name 'dot_z*' -o -name '*.sh' -o -name '*.zsh' \) | grep -Ev 'examples/*' | xargs shellcheck
- name: Markdown lint
if: ${{ needs.setup.outputs.markdown == 'true' }}
uses: DavidAnson/markdownlint-cli2-action@8de2aa07cae85fd17c0b35642db70cf5495f1d25 # v24.0.0
with:
globs: ${{ needs.setup.outputs.markdown_files }}
- name: Check formatting (dprint)
if: ${{ needs.setup.outputs.dprint == 'true' }}
uses: dprint/check@9cb3a2b17a8e606d37aae341e49df3654933fc23 # v2.3

test:
name: Test
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ This dotfiles repository is intended to be used for Debian or Ubuntu under WSL2.
4. Move to the cloned repository
5. Execute the install script

```bash
chmod +x install-packages.sh
./install-packages.sh
```
```bash
chmod +x install-packages.sh
./install-packages.sh
```

6. Reboot your distribution
7. Make a GPG key for GitHub.
Expand All @@ -50,10 +50,10 @@ This dotfiles repository is intended to be used for Debian or Ubuntu under WSL2.
8. Download [Gpg4win](https://www.gpg4win.org/)
9. Create `~/.gnupg/gpg-agent.conf`

```bash
touch ~/.gnupg/gpg-agent.conf
gpg-connect-agent reloadagent /bye
```
```bash
touch ~/.gnupg/gpg-agent.conf
gpg-connect-agent reloadagent /bye
```

10. Reboot a gpg agent

Expand Down
13 changes: 13 additions & 0 deletions dprint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"yaml": {
"quotes": "preferSingle"
},
"excludes": [
".serena/"
],
"plugins": [
"https://plugins.dprint.dev/markdown-0.22.1.wasm",
"https://plugins.dprint.dev/toml-0.7.0.wasm",
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.6.0.wasm"
]
}