Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/astro/deadnix-action
Workflow to find and delete dead nix code
https://github.com/astro/deadnix-action
action actions github nix nixos nixpkgs workflow
Last synced: about 1 month ago
JSON representation
Workflow to find and delete dead nix code
- Host: GitHub
- URL: https://github.com/astro/deadnix-action
- Owner: astro
- Created: 2021-12-13T18:32:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-24T21:29:37.000Z (9 months ago)
- Last Synced: 2024-04-25T03:20:32.228Z (7 months ago)
- Topics: action, actions, github, nix, nixos, nixpkgs, workflow
- Homepage:
- Size: 18.6 KB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# deadnix-action
Automatically creates pull requests to remove unused code in `.nix`
files## Usage
Create a `.github/workflows/deadnix.yml` file:
```yaml
on: [push]name: Dead code analysis
jobs:
deadnix:
name: Deadnix
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
- uses: cachix/cachix-action@v14
with:
name: deadnix
- uses: astro/deadnix-action@main
````git add`, `git commit`, `git push`, be happy.