Skip to content

Commit

Permalink
Add clone-and-install job to CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ulises-jeremias committed Dec 12, 2023
1 parent ca39045 commit 76f1810
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/clone-and-install.yml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 76f1810

Please sign in to comment.