plugins.yml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. name: plugins-version-bump
  2. on:
  3. workflow_dispatch:
  4. inputs:
  5. logLevel:
  6. description: 'Log level'
  7. required: false
  8. default: 'warning'
  9. type: choice
  10. options:
  11. - info
  12. - warning
  13. - debug
  14. schedule:
  15. - cron: "30 18 * * 1,5"
  16. jobs:
  17. plugins-version-bump:
  18. runs-on: ubuntu-latest
  19. permissions:
  20. contents: write
  21. steps:
  22. - uses: actions/checkout@v2
  23. with:
  24. ref: ${{ github.head_ref }}
  25. - name: Install neovim binary
  26. uses: rhysd/action-setup-vim@v1
  27. with:
  28. neovim: true
  29. version: v0.6.1
  30. - name: Install LunarVim
  31. timeout-minutes: 4
  32. run: |
  33. ./utils/installer/install.sh --local --no-install-dependencies
  34. - name: run upgrade script
  35. run: make generate_new_lockfile
  36. - name: Re-install LunarVim
  37. timeout-minutes: 4
  38. run: |
  39. ./utils/installer/uninstall.sh --remove-backups
  40. ./utils/installer/install.sh --local --no-install-dependencies
  41. - name: Run unit-tests
  42. # NOTE: make sure to adjust the timeout if you start adding a lot of tests
  43. timeout-minutes: 4
  44. run: make test
  45. - name: Create Pull Request
  46. uses: peter-evans/create-pull-request@v4
  47. with:
  48. branch: plugins-bump
  49. delete-branch: true # Delete the branch when closing pull requests, and when undeleted after merging.
  50. base: test-ci
  51. token: ${{ secrets.GITHUB_TOKEN }}
  52. title: "chore: bump plugins version"
  53. commit_message: "chore: bump plugins version"