Skip to content

Commit

Permalink
ci: make _data/python-pfhub flake check first
Browse files Browse the repository at this point in the history
Reverse order of flake check so that _data/python_pfhub/flake.nix is
first. Checking to see if linkml will work.
  • Loading branch information
wd15 committed Aug 13, 2023
1 parent fae80b6 commit 3b569bc
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/flake-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,7 @@ jobs:
name: pfhub
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
extraPullNames: nix-community
- name: Check Nix flake inputs (./flake.lock)
uses: DeterminateSystems/flake-checker-action@v5
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Build Nix package
run: |
nix flake lock --update-input pfhub
nix build

- name: Check Nix flake inputs (./_data/python-pfhub/flake.lock)
uses: DeterminateSystems/flake-checker-action@v5
with:
Expand All @@ -37,3 +30,13 @@ jobs:
run: |
cd _data/python-pfhub
nix build
cd $GITHUB_WORKSPACE
- name: Check Nix flake inputs (./flake.lock)
uses: DeterminateSystems/flake-checker-action@v5
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- name: Build Nix package
run: |
nix flake lock --update-input pfhub
nix build

0 comments on commit 3b569bc

Please sign in to comment.