Skip to content

cabal update, cabal install hspec-discover #42

cabal update, cabal install hspec-discover

cabal update, cabal install hspec-discover #42

Workflow file for this run

name: ArrayFire CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 21, Col: 9): There's not enough info to determine what you meant. Add one of these properties: cancel, run, shell, uses, wait, wait-all, with, working-directory, (Line: 24, Col: 9): There's not enough info to determine what you meant. Add one of these properties: cancel, run, shell, uses, wait, wait-all, with, working-directory
on:
push:
branches:
- master
pull_request:
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Nix channel --update
- run: nix-channel --update
- name: Cabal update
- run: nix develop --command bash -c 'cabal update'
- name: Build and run tests
run: nix develop --command bash -c 'cabal install hspec-discover && cabal test'