Skip to content

Commit

Permalink
ci: run nix shell check on pushes to main
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Volosatovs <[email protected]>
  • Loading branch information
rvolosatovs committed Aug 27, 2024
1 parent 95e5b78 commit a25e650
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
merge_group:
pull_request:
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -19,15 +21,17 @@ jobs:
cachixAuthToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix fmt

run:
shell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: ./.github/actions/install-nix
with:
cachixAuthToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix run -L . -- --version
continue-on-error: true # TODO: fix
- run: |
nix profile install
wit-bindgen-wrpc --version
wrpc-wasmtime-nats --version
develop:
runs-on: ubuntu-latest
Expand Down

0 comments on commit a25e650

Please sign in to comment.