Skip to content

Commit

Permalink
split check and build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
azuline committed May 12, 2024
1 parent b7e88d7 commit 3ef7bd5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@ jobs:
- name: Lint
if: success() || failure()
run: nix develop --command make lintcheck
build:
runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- uses: cachix/cachix-action@v12
with:
name: rose
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Build Nix
run: nix build -j8 .#devShells.x86_64-linux.default
- name: Build
if: success() || failure()
run: nix build .#all

0 comments on commit 3ef7bd5

Please sign in to comment.