Skip to content

Commit

Permalink
ci: merge build and lint GitHub workflows using 'nix flake check'
Browse files Browse the repository at this point in the history
  • Loading branch information
trueNAHO committed Sep 9, 2024
1 parent 1072763 commit e5c3694
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 103 deletions.
61 changes: 0 additions & 61 deletions .github/workflows/build.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/lint.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/nix_flake_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: Nix Flake Check

on:
push:

jobs:
nix-flake-check:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v13
- uses: DeterminateSystems/magic-nix-cache-action@v7
- run: nix flake check

0 comments on commit e5c3694

Please sign in to comment.