Skip to content

fix: chezmoi init current dir after checkout #3

fix: chezmoi init current dir after checkout

fix: chezmoi init current dir after checkout #3

Workflow file for this run

name: CI
on:
pull_request:
types:
- opened
- reopened
- synchronize
push:
branches:
- main
workflow_call:
workflow_dispatch:
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
Linux:
runs-on: ubuntu-latest
steps:
- name: Install (Chezmoi)
run: sudo apt update && sudo apt install -y chezmoi
- name: Checkout
uses: actions/checkout@v4
- name: Init
run: chezmoi init --source $(pwd)
- name: Apply
run: chezmoi apply
macOS:
runs-on: macos-latest
steps:
- name: Install (Chezmoi)
run: brew install chezmoi
- name: Checkout
uses: actions/checkout@v4
- name: Init
run: chezmoi init --source $(pwd)
- name: Apply
run: chezmoi apply