Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Update CI workflow #52

Merged
merged 10 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:/sestrella/home-manager.config/actions/workflows/build.yml/badge.svg)](https:/sestrella/home-manager.config/actions/workflows/build.yml)
[![CI](https:/sestrella/home-manager.config/actions/workflows/ci.yml/badge.svg)](https:/sestrella/home-manager.config/actions/workflows/ci.yml)

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

Expand Down