Update flake inputs #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Update flake inputs" | |
on: | |
workflow_dispatch: # allows manual triggering | |
schedule: | |
- cron: "0 0 * * 0" # runs weekly on Sunday at 00:00 | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cachix/install-nix-action@v22 | |
with: | |
github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: cachix/cachix-action@v14 | |
with: | |
name: horriblename | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- name: Update flake.lock | |
uses: DeterminateSystems/update-flake-lock@v23 | |
with: | |
pr-title: "Update flake.lock" # Title of PR to be created | |
pr-labels: | # Labels to be set on the PR | |
dependencies | |
automated | |
- name: build and test hyprgrass | |
run: | | |
nix build .#hyprgrassWithTests \ | |
--option extra-substituters https://hyprland.cachix.org \ | |
--option extra-trusted-public-keys hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc= |