Skip to content

Commit

Permalink
chore(deps): update dependency astral-sh/uv to v0.4.26
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and actions-user committed Oct 24, 2024
0 parents commit bad2001
Show file tree
Hide file tree
Showing 78 changed files with 3,561 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
23 changes: 23 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"github>aquaproj/aqua-renovate-config#2.3.1"
],
"packageRules": [
{
"description": "Automerge non-major update",
"matchUpdateTypes": [
"minor",
"patch"
],
"automerge": true
},
{
"matchPackageNames": [
"neovim/neovim"
],
"enabled": false
}
]
}
53 changes: 53 additions & 0 deletions .github/workflows/update-checksum.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: update aqua checksum

on:
push:
branches:
- "main"
pull_request:
paths:
- "common/aquaproj-aqua/*"
- ".github/workflows/update-checksum.yaml"
workflow_dispatch:

jobs:
update-aqua-checksum:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: actions/cache@v4
with:
path: ~/.local/share/aquaproj-aqua
key: v1-aqua-installer-${{runner.os}}-${{runner.arch}}-${{hashFiles('**/aqua.yaml')}}
restore-keys: |
v1-aqua-installer-${{runner.os}}-
- uses: aquaproj/[email protected]
with:
aqua_version: v2.36.1
working_directory: common/aquaproj-aqua
- run: aqua update-checksum -deep -prune
working-directory: common/aquaproj-aqua
- run: git diff --exit-code
id: diff
continue-on-error: true
- name: Commit changes
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git add -A
git commit --amend --no-edit
git push origin -f
if: steps.diff.outcome == 'failure'
- run: aqua install --all --only-link

approve:
runs-on: ubuntu-latest
needs: update-aqua-checksum
if: "github.event.pull_request.user.login == 'renovate[bot]' && contains(github.event.pull_request.body, ' **Automerge**: Enabled.')"
steps:
- uses: actions/checkout@v4
- run: gh pr review ${{ github.event.number }} --approve
env:
GITHUB_TOKEN: ${{ github.token }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist
.DS_Store
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.associations": {
".gitconfig*": "properties"
}
}
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# dotfiles

Cross-platform dotfiles for Windows, Mac, and Ubuntu.

## Setup

> [!CAUTION]
> In Windows environment, Run it in Git Bash (not cmd or PowerShell!)
```bash
git clone https://github.com/ras0q/dotfiles.git ~/dotfiles
cd ~/dotfiles
./install.sh
```

## Checklist After Setup

### Common

- [ ] Install fonts to your OS
- Font files are downloaded in `./dist`

### WSL2

- [ ] `set -U NPIPERELAY_PATH {{ path to npiperelay }}`
1 change: 1 addition & 0 deletions common/.bash_profile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[ -f ~/.bashrc ] && source ~/.bashrc
12 changes: 12 additions & 0 deletions common/.bashrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
PATH=$PATH:~/.local/bin
# add Go Path for VSCode
PATH=$PATH:~/.local/share/aquaproj-aqua/bin

complete -C /home/ras/go/bin/xc xc

# If fish is installed, use it
# NOTE: This command should be at the end of this file
if [[ $- == *i* ]] && command -v fish >/dev/null 2>&1; then
exec fish
fi

46 changes: 46 additions & 0 deletions common/.gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Path: $HOME/.gitconfig

[user]
name = ras0q
email = [email protected]
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKwlDquvYaQtT4cq1KWEC/S+W7et8oSyQjdib2VDObz8

[core]
editor = nvim
autoCRLF = false
quotepath = false

[init]
defaultBranch = main

[fetch]
prune = true

[pull]
rebase = false

[commit]
gpgsign = true
template = ~/.gittemplate.txt

[push]
default = current
autoSetupRemote = true

[alias]
bprune = !git branch --merged | egrep -v '\\*|develop|main|master' | xargs git branch -d
lo = log --oneline
inico = commit --allow-empty -m \":seedling: initial commit\"
fixup = commit --fixup HEAD

[gpg]
format = ssh

# Include system-wide .gitconfig
# XXX:
# If multiple keys are specified, the last one takes precedence,
# and even if the path does not exist, it will not cause an error.
# (simply not including the path)
[include]
path = ~/.gitconfig.mac
path = ~/.gitconfig.win
15 changes: 15 additions & 0 deletions common/.gittemplate.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@


# ✨ fe: Introduce new features.
# 🐛 bu: Fix a bug.
# 🩹 ad: Simple fix for a non-critical issue.
# ♻️ re: Refactor code.
# 💥 bo: Introduce breaking changes.
# 🎨 fo: Improve structure / format of the code.
# 🔥 rm: Remove code or files.
# ⏪️ rv: Revert changes.
# 💄 ui: Add or update the UI and style files.
# 🔧 co: Add or update configuration files.
# 📝 do: Add or update documentation.
# ⬆️ up: Upgrade dependencies.
# ✅ ch: Add, update, or pass tests.
Loading

0 comments on commit bad2001

Please sign in to comment.