Skip to content

Commit

Permalink
Tweak CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SFrijters committed Oct 1, 2024
1 parent f97615c commit 9d6a29d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "nix-run"
name: "check-logwatch"
on:
pull_request:
paths-ignore:
Expand All @@ -8,16 +8,29 @@ on:
- 'README.md'

jobs:
nix-run:
check-logwatch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v29
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@v8
- run: |
nix run . -- --version

- name: Flake metadata
run: |
nix flake metadata
nix flake show
- name: Flake check
run: |
nix flake check -L
- name: Run logwatch
run: |
nix run . -- --version
- name: Formatter check
run: |
nix fmt
git diff --exit-code
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# nixos-logwatch

[![nix run](https://github.com/SFrijters/nixos-logwatch/actions/workflows/nix-run.yml/badge.svg)](https://github.com/SFrijters/nixos-logwatch/actions/workflows/nix-run.yml)
[![check-logwatch](https://github.com/SFrijters/nixos-logwatch/actions/workflows/check-logwatch.yml/badge.svg)](https://github.com/SFrijters/nixos-logwatch/actions/workflows/check-logwatch.yml)

This flake provides a NixOS module for [logwatch](https://sourceforge.net/projects/logwatch/).

Expand Down

0 comments on commit 9d6a29d

Please sign in to comment.