Skip to content

Commit 3059243

Browse files
committed
Move to GitHub Actions
1 parent 4297236 commit 3059243

File tree

8 files changed

+53
-195
lines changed

8 files changed

+53
-195
lines changed

.github/workflows/tests.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Tests
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
build:
11+
name: CI
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
os:
17+
- ubuntu-latest
18+
- macos-latest
19+
- windows-latest
20+
resolver:
21+
- nightly
22+
- lts-18
23+
- lts-16
24+
- lts-14
25+
26+
steps:
27+
- name: Clone project
28+
uses: actions/checkout@v2
29+
30+
- name: Build and run tests
31+
shell: bash
32+
run: |
33+
set -ex
34+
mkdir -p ../_newstack
35+
stack upgrade --force-download --local-bin-path ../_newstack
36+
../_newstack/stack --version
37+
../_newstack/stack test --fast --no-terminal --resolver=${{ matrix.resolver }}

.travis.yml

Lines changed: 0 additions & 188 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Status :
2-
[![Build Status](https://api.travis-ci.org/snoyberg/xml.svg?branch=master)](https://travis-ci.org/snoyberg/xml)
2+
[![Tests](https://github.com/snoyberg/xml/actions/workflows/tests.yml/badge.svg)](https://github.com/snoyberg/xml/actions/workflows/tests.yml)
33

44
mega-repo for XML related utilities

html-conduit/html-conduit.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Library
1717
Exposed-modules: Text.HTML.DOM
1818
other-modules: Text.HTML.TagStream
1919
hs-source-dirs: src
20-
Build-depends: base >= 4 && < 5
20+
Build-depends: base >= 4.12 && < 5
2121
, transformers
2222
, bytestring
2323
, containers

sources.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

stack.yaml.lock

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file was autogenerated by Stack.
2+
# You should not edit this file by hand.
3+
# For more information, please see the documentation at:
4+
# https://docs.haskellstack.org/en/stable/lock_files
5+
6+
packages: []
7+
snapshots:
8+
- completed:
9+
size: 585817
10+
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/18/5.yaml
11+
sha256: 22d24d0dacad9c1450b9a174c28d203f9bb482a2a8da9710a2f2a9f4afee2887
12+
original: lts-18.5

xml-conduit/xml-conduit.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ custom-setup
2020
setup-depends: base >= 4 && <5, Cabal, cabal-doctest >= 1 && <1.1
2121

2222
library
23-
build-depends: base >= 4 && < 5
23+
build-depends: base >= 4.12 && < 5
2424
, conduit >= 1.3 && < 1.4
2525
, conduit-extra >= 1.3 && < 1.4
2626
, resourcet >= 1.2 && < 1.3

xml-hamlet/xml-hamlet.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Library
1717
Exposed-modules: Text.Hamlet.XML
1818
Other-modules: Text.Hamlet.XMLParse
1919

20-
Build-depends: base >= 4 && < 5
20+
Build-depends: base >= 4.12 && < 5
2121
, shakespeare >= 1.0 && < 2.2
2222
, xml-conduit >= 1.0
2323
, text >= 0.10

0 commit comments

Comments
 (0)