Skip to content

Commit

Permalink
Run nix develop before compile checks
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh committed Feb 3, 2024
1 parent e590be6 commit a96bd99
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ jobs:
runs-on: ubuntu-latest
needs: find-latest-release
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Java 17
run: |
echo "$JAVA_HOME_17_X64/bin" >> $GITHUB_PATH
echo "JAVA_HOME=$JAVA_HOME_17_X64" >> $GITHUB_ENV
shell: bash
- name: Install nix
run: sudo apt install nix
- name: Run nix develop
run: sudo nix develop --extra-experimental-features nix-command flakes
- uses: lf-lang/action-check-lf-files@main
with:
check_mode: "compile"
Expand All @@ -31,7 +35,7 @@ jobs:
runs-on: ubuntu-latest
needs: find-latest-release
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Java 17
run: |
echo "$JAVA_HOME_17_X64/bin" >> $GITHUB_PATH
Expand Down

0 comments on commit a96bd99

Please sign in to comment.