diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cde2fe3a..a7b4a38c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,10 @@ concurrency: cancel-in-progress: true jobs: + clone-and-install: + name: Clone and Install + uses: ./.github/workflows/clone-and-install.yml + lint: name: Super Linter uses: ./.github/workflows/lint.yml diff --git a/.github/workflows/clone-and-install.yml b/.github/workflows/clone-and-install.yml new file mode 100644 index 00000000..93fc6b20 --- /dev/null +++ b/.github/workflows/clone-and-install.yml @@ -0,0 +1,24 @@ +name: Clone and Install + +on: + workflow_call: + +jobs: + clone-and-install: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + devcontainer-image: + - mcr.microsoft.com/vscode/devcontainers/base:ubuntu + container: + image: ${{ matrix.devcontainer-image }} + env: + CODESPACES: true + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install Dotfiles + run: ./install.sh + - name: Chezmoi data + run: '"$HOME/.local/bin/chezmoi" data'