chore(deps): bump nvim plugins #1746
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
format: | |
uses: ./.github/workflows/format.yml | |
secrets: inherit | |
lint: | |
uses: ./.github/workflows/lint.yml | |
linux: | |
name: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- os: ubuntu:latest | |
run: apt-get update -q && apt-get install -y -q curl sudo | |
- os: debian:latest | |
run: apt-get update -q && apt-get install -y -q curl sudo | |
# - os: quay.io/centos/centos:stream | |
- os: fedora:latest | |
run: dnf clean all && dnf install -y -q curl sudo | |
runs-on: ubuntu-latest | |
container: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install prerequisites | |
run: ${{ matrix.run }} | |
- uses: nick-fields/retry@v2 | |
name: Chezmoi init & apply | |
with: | |
timeout_minutes: 10 | |
max_attempts: 3 | |
retry_on: error | |
command: ./install.sh | |
macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nick-fields/retry@v2 | |
name: Chezmoi init & apply | |
with: | |
timeout_minutes: 10 | |
max_attempts: 3 | |
retry_on: error | |
command: ./install.sh | |
windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nick-fields/retry@v2 | |
name: Chezmoi init & apply | |
with: | |
shell: pwsh | |
timeout_minutes: 10 | |
max_attempts: 3 | |
retry_on: error | |
command: | | |
(irm -useb https://get.chezmoi.io/ps1) | powershell -c - | |
bin/chezmoi.exe init --apply --source $Env:GITHUB_WORKSPACE | |
release: | |
needs: | |
- format | |
- lint | |
- linux | |
- macos | |
- windows | |
runs-on: ubuntu-latest | |
steps: | |
- uses: google-github-actions/release-please-action@v3 | |
id: release | |
with: | |
release-type: simple | |
package-name: dotfiles | |
- uses: actions/checkout@v4 | |
- name: tag stable versions | |
if: ${{ steps.release.outputs.release_created }} | |
run: | | |
git config user.name github-actions[bot] | |
git config user.email 41898282+github-actions[bot]@users.noreply.github.com | |
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/google-github-actions/release-please-action.git" | |
git tag -d stable || true | |
git push origin :stable || true | |
git tag -a stable -m "Latest Stable Release" | |
git push origin stable |