Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,33 @@ jobs:
run: mkdir -p "$HOME/.local/bin"
- name: Add ~/.local/bin to PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- uses: actions/cache@v2

# Caching
#
# `haskell/actions/setup` will overwrite the STACK_ROOT variable
# to "C:\sr" on Windows and `$HOME/.stack` on non-Windows OS.
# So, we use OS-specific caching rules to workaround this difference
# between OSes.
# For Windows, we also cache the folder that stores the GHC we use
# as well as other programs it uses.
- name: Cache ~/.stack on non-Windows OS
uses: actions/cache@v2
if: runner.os != 'Windows'
with:
path: |
~/.stack
key: ${{ runner.os }}-${{ hashFiles('stack.yaml') }}-1
- name: Cache C:\sr on Windows OS
uses: actions/cache@v2
if: runner.os == 'Windows'
with:
# Cache both STACK_ROOT and the folder containing
# Stack-related files
path: |
C:\sr
$HOME\AppData\Local\Programs\stack\x86_64-windows
key: ${{ runner.os }}-${{ hashFiles('stack.yaml') }}-1

- run: npm install -g [email protected] [email protected] [email protected]

- name: Install dependencies
Expand Down
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.19.1] - 2021-02-04

Bugfixes:
- Fix `psa` not being found on Windows (#740, #693)

Other improvements:
- Bump `dhall` dependency from 1.37.1 to 1.38.0 (#739)
- Fix `psa` not being found on Windows (#740, #693)
- Fix caching on Windows CI (#728, #741)

## [0.19.0] - 2021-01-02
## [0.19.0] - 2021-01-06

Breaking changes (😱!!!):
- **Deprecate `-d` flag for `deps-only` (#712)** - instead only support the `--deps-only` long form
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: spago
version: 0.19.0
version: 0.19.1
github: "purescript/spago"
license: BSD3
author: "Justin Woo, Fabrizio Ferrai"
Expand Down
2 changes: 1 addition & 1 deletion spago.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cabal-version: 1.12
-- hash: dcc2a8871af2db9eb05f8143f9ce2ff0c422d58560e4bcd7c06e5e3cdeb9d36a

name: spago
version: 0.19.0
version: 0.19.1
description: Please see the README on GitHub at <https://github.com/purescript/spago#readme>
homepage: https://github.com/purescript/spago#readme
bug-reports: https://github.com/purescript/spago/issues
Expand Down
2 changes: 1 addition & 1 deletion templates/packages.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,6 @@ in upstream
-------------------------------
-}
let upstream =
https://github.com/purescript/package-sets/releases/download/psc-0.13.8-20201021/packages.dhall sha256:55ebdbda1bd6ede4d5307fbc1ef19988c80271b4225d833c8d6fb9b6fb1aa6d8
https://github.com/purescript/package-sets/releases/download/psc-0.13.8-20210118/packages.dhall sha256:a59c5c93a68d5d066f3815a89f398bcf00e130a51cb185b2da29b20e2d8ae115

in upstream
2 changes: 1 addition & 1 deletion test/SpagoSpec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Control.Concurrent (threadDelay)
import qualified Data.Text as Text
import Prelude hiding (FilePath)
import qualified System.IO.Temp as Temp
import Test.Hspec (Spec, around_, describe, it, shouldBe, shouldNotBe, shouldNotSatisfy,
import Test.Hspec (Spec, around_, describe, it, shouldBe, shouldNotSatisfy,
shouldReturn, shouldSatisfy)
import Turtle (ExitCode (..), cd, cp, decodeString, empty, encodeString,
mkdir, mktree, mv, pwd, readTextFile, rm, shell,
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/spago-bower-import.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ You can edit this file as you like.
, "foreign"
, "foreign-object"
, "generics-rep"
, "globals"
, "nullable"
, "prelude"
, "psci-support"
Expand Down