fix(ci): enable pipe-operators
in check github action
#150
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: CI | |
on: | |
pull_request: | |
paths: | |
- "**/*.nix" | |
- "flake.lock" | |
- ".github/workflows/check.yaml" | |
push: | |
branches: [main] | |
paths: | |
- "**/*.nix" | |
- "flake.lock" | |
- ".github/workflows/check.yaml" | |
jobs: | |
test: | |
name: Check repository | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Check flake.lock | |
uses: DeterminateSystems/flake-checker-action@v8 | |
- name: Intall Nix | |
uses: DeterminateSystems/nix-installer-action@v12 | |
with: | |
github-token: ${{ secrets.PAT }} | |
- name: Check repository | |
run: nix --extra-experimental-features pipe-operators flake check |