From b3ee9baa119a306d5a56d9e0be39fe2c9e476b05 Mon Sep 17 00:00:00 2001 From: Yatish Mehta Date: Sat, 12 Oct 2024 20:43:49 -0700 Subject: [PATCH] Added support for Github actions --- .github/workflows/validate-shell-scripts.yml | 19 +++++++++++++++++++ README.md | 10 ---------- TODO.md | 5 +++++ 3 files changed, 24 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/validate-shell-scripts.yml create mode 100644 TODO.md diff --git a/.github/workflows/validate-shell-scripts.yml b/.github/workflows/validate-shell-scripts.yml new file mode 100644 index 0000000..c77931d --- /dev/null +++ b/.github/workflows/validate-shell-scripts.yml @@ -0,0 +1,19 @@ +name: Validate Shell Scripts + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + shellcheck: + name: Shellcheck + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Run ShellCheck + uses: ludeeus/action-shellcheck@master + with: + scandir: "." + severity: error diff --git a/README.md b/README.md index 8178208..10fbc48 100644 --- a/README.md +++ b/README.md @@ -135,16 +135,6 @@ To update your dotfiles: 5. Restart your terminal or run `source ~/.zshrc` to apply the changes. -## Additional Tips - -### Git Aliases - -To set up a nice `git lg` alias for a prettier log output: - -``` -git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --" -``` - ## Contributing If you have any suggestions or improvements, feel free to open an issue or submit a pull request. diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..631e95f --- /dev/null +++ b/TODO.md @@ -0,0 +1,5 @@ +## TODO + +- [ ] Add setup for cursor editor to match vscode +- [ ] Add wrap to Brewfile +- [ ] Add rectangle, pearcleaner to Brewfile