From 65657481e624fbecaef46591bdf95c218c8c8161 Mon Sep 17 00:00:00 2001 From: vincent Date: Thu, 11 Jun 2020 17:10:18 +0200 Subject: [PATCH] update --- zsh/.oh-my-zsh/.github/CODEOWNERS | 3 ++ .../.github/PULL_REQUEST_TEMPLATE.md | 17 +++++++++ zsh/.oh-my-zsh/.github/workflows/main.yml | 36 +++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 zsh/.oh-my-zsh/.github/CODEOWNERS create mode 100644 zsh/.oh-my-zsh/.github/PULL_REQUEST_TEMPLATE.md create mode 100644 zsh/.oh-my-zsh/.github/workflows/main.yml diff --git a/zsh/.oh-my-zsh/.github/CODEOWNERS b/zsh/.oh-my-zsh/.github/CODEOWNERS new file mode 100644 index 0000000..cba8e93 --- /dev/null +++ b/zsh/.oh-my-zsh/.github/CODEOWNERS @@ -0,0 +1,3 @@ +# Plugin owners +plugins/gitfast/ @felipec +plugins/sdk/ @rgoldberg diff --git a/zsh/.oh-my-zsh/.github/PULL_REQUEST_TEMPLATE.md b/zsh/.oh-my-zsh/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..6bcb90e --- /dev/null +++ b/zsh/.oh-my-zsh/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,17 @@ +## Standards checklist: + +- [ ] The PR title is descriptive. +- [ ] The PR doesn't replicate another PR which is already open. +- [ ] I have read the contribution guide and followed all the instructions. +- [ ] The code follows the code style guide detailed in the wiki. +- [ ] The code is mine or it's from somewhere with an MIT-compatible license. +- [ ] The code is efficient, to the best of my ability, and does not waste computer resources. +- [ ] The code is stable and I have tested it myself, to the best of my abilities. + +## Changes: + +- [...] + +## Other comments: + +... diff --git a/zsh/.oh-my-zsh/.github/workflows/main.yml b/zsh/.oh-my-zsh/.github/workflows/main.yml new file mode 100644 index 0000000..7ab7efd --- /dev/null +++ b/zsh/.oh-my-zsh/.github/workflows/main.yml @@ -0,0 +1,36 @@ +name: CI +on: + pull_request: + types: + - opened + - synchronize + branches: + - master + push: + branches: + - master + +jobs: + tests: + name: Run tests + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + steps: + - name: Set up git repository + uses: actions/checkout@v2 + - name: Install zsh + if: runner.os == 'Linux' + run: sudo apt-get update; sudo apt-get install zsh + - name: Test installer + run: sh ./tools/install.sh + - name: Check syntax + run: | + for file in ./oh-my-zsh.sh \ + ./lib/*.zsh \ + ./plugins/*/*.plugin.zsh \ + ./plugins/*/_* \ + ./themes/*.zsh-theme; do + zsh -n "$file" || return 1 + done