git.iko.soy/typeable/pandoc
on master help sign in
CI: use checkout@v2, and use haskell-setup to install stack.
commit5f33df322c917a4729814296463aa7fc89b69661 authorJohn MacFarlane <jgm@berkeley.edu> dateTue 22 Sep 2020, 09:13 (6 years ago) parente0984a4
2 files changed+11−10
.github/workflows/ci.yml+8−7 .github/workflows/nightly.yml+3−3
.github/workflows/ci.yml+8−7
@@ -56,7 +56,7 @@ jobs:
5656 - ghc: '8.10.2'
5757 cabal: '3.2'
5858 steps:
59− - uses: actions/checkout@v1
59+ - uses: actions/checkout@v2
6060
6161 # need to install older cabal/ghc versions from ppa repository
6262
@@ -102,11 +102,12 @@ jobs:
102102 runs-on: windows-2019
103103
104104 steps:
105− - uses: actions/checkout@v1
106− - name: Install stack
107− shell: cmd
108− run: |
109− choco install haskell-stack
105+ - uses: actions/checkout@v2
106+
107+ - uses: actions/setup-haskell@v1.1
108+ with:
109+ enable-stack: true
110+ stack-version: 'latest'
110111
111112 # declare/restore cached things
112113 # caching doesn't work for scheduled runs yet
@@ -148,7 +149,7 @@ jobs:
148149 cabal: '3.2'
149150
150151 steps:
151− - uses: actions/checkout@v1
152+ - uses: actions/checkout@v2
152153
153154 - name: Install recent cabal/ghc
154155 uses: actions/setup-haskell@v1.1
.github/workflows/nightly.yml+3−3
@@ -9,7 +9,7 @@ jobs:
99
1010 runs-on: ubuntu-18.04
1111 steps:
12− - uses: actions/checkout@v1
12+ - uses: actions/checkout@v2
1313 - name: Install dependencies
1414 run: |
1515 export PATH=/opt/cabal/3.2/bin:/opt/ghc/8.8.3/bin:$PATH
@@ -41,7 +41,7 @@ jobs:
4141 runs-on: windows-2019
4242
4343 steps:
44− - uses: actions/checkout@v1
44+ - uses: actions/checkout@v2
4545 - name: Install stack
4646 shell: cmd
4747 run: |
@@ -71,7 +71,7 @@ jobs:
7171 runs-on: macOS-10.15
7272
7373 steps:
74− - uses: actions/checkout@v1
74+ - uses: actions/checkout@v2
7575 - name: Install stack
7676 run: |
7777 curl -L https://get.haskellstack.org/stable/osx-x86_64.tar.gz -o stack.tar.gz