chore: add flake.nix #925
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: flow-pr | |
on: pull_request | |
jobs: | |
lint: | |
uses: ./.github/workflows/job-lint.yml | |
test: | |
uses: ./.github/workflows/job-test.yml | |
nix-update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
with: | |
persist-credentials: false | |
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30 | |
with: | |
github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Try to update nix flake | |
run: nix run github:Mic92/nix-update -- --flake myks --version=skip | |
- name: Print changes | |
run: git diff |