Skip to content

Commit

Permalink
ci: Update CI workflow (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella authored Aug 29, 2024
1 parent cffe2d4 commit 9eb9594
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 29 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/build.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: CI

on: push

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v8
- name: Install Nix
uses: cachix/install-nix-action@v27
- name: Setup Cachix
uses: cachix/cachix-action@v15
with:
name: devenv
- name: Build configuration
run: nix run home-manager/release-24.05 -- build --flake ${{ github.workspace }}
timeout-minutes: 5
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Home Manager Configuration

[![build](https://github.com/sestrella/home-manager.config/actions/workflows/build.yml/badge.svg)](https://github.com/sestrella/home-manager.config/actions/workflows/build.yml)
[![CI](https://github.com/sestrella/home-manager.config/actions/workflows/ci.yml/badge.svg)](https://github.com/sestrella/home-manager.config/actions/workflows/ci.yml)

My [Home Manager](https://github.com/nix-community/home-manager) configuration.

Expand Down

0 comments on commit 9eb9594

Please sign in to comment.