Skip to content

Commit

Permalink
Add a CI job to make sure the Nix Shell is usable
Browse files Browse the repository at this point in the history
  • Loading branch information
LeSuisse committed Nov 24, 2021
1 parent 87cfa7f commit 0255df5
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/CI.yml
Expand Up @@ -142,4 +142,18 @@ jobs:
- name: Roave BC Check
uses: docker://nyholm/roave-bc-check-ga
with:
args: roave-backwards-compatibility-check:assert-backwards-compatible --from=v1.0.0
args: roave-backwards-compatibility-check:assert-backwards-compatible --from=v1.0.0
nix-shell:
name: Working Nix Shell
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2.4.0
- name: Install nix
uses: cachix/install-nix-action@v16
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Install dependencies
run: nix-shell --pure --run 'composer install --no-interaction --prefer-dist'
- name: Basic tests
run: nix-shell --pure --run './vendor/bin/psalm'

0 comments on commit 0255df5

Please sign in to comment.