Add k1LoW/mo via mise #515
This file contains hidden or 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: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test-macos: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| submodules: recursive | |
| persist-credentials: false | |
| - uses: ./.github/actions/setup-mise | |
| - name: "Workaround: Prepare ~/.local/share/chezmoi" | |
| run: | | |
| mkdir -p "$HOME/.local/share" | |
| ln -s "$(pwd)" "$HOME/.local/share/chezmoi" | |
| echo "CHEZMOI_SOURCE_DIR=$HOME/.local/share/chezmoi" >> "$GITHUB_ENV" | |
| - name: "Workaround: Resolve Homebrew/mise link conflict" | |
| run: | | |
| brew unlink ca-certificates || true | |
| - name: Trust | |
| working-directory: ${{ env.CHEZMOI_SOURCE_DIR }} | |
| run: | | |
| mise trust | |
| - name: Run bootstrap | |
| working-directory: ${{ env.CHEZMOI_SOURCE_DIR }} | |
| run: | | |
| mise bootstrap --skip user | |
| - name: Run bootstrap again to test idempotency | |
| working-directory: ${{ env.CHEZMOI_SOURCE_DIR }} | |
| run: | | |
| mise bootstrap --skip user | |
| test-static: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - uses: ./.github/actions/setup-mise | |
| - name: Install dependencies | |
| run: sudo apt install -y zsh | |
| - run: | | |
| hk check --all | |
| env: | |
| HK_PKL_BACKEND: pklr |