Skip to content

Commit c340a8c

Browse files
committed
update workflows
1 parent 41b7d5e commit c340a8c

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
name: Stack macOS
1818
uses: ./.github/workflows/stack.yml
1919
with:
20-
os: macos-12
20+
os: macos-latest
2121

2222
stack-windows:
2323
name: Stack Windows
@@ -36,4 +36,4 @@ jobs:
3636
name: Nix macOS
3737
uses: ./.github/workflows/nix.yml
3838
with:
39-
os: macos-12
39+
os: macos-latest

.github/workflows/nix-agda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
os: [ 'macos-12' , 'ubuntu-22.04']
19+
os: [ 'macos-latest' , 'ubuntu-22.04']
2020

2121
name: Nix Agda
2222
runs-on: ${{ matrix.os }}

.github/workflows/stack.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ jobs:
1616
- name: Checkout repo
1717
uses: actions/checkout@v4
1818

19+
- name: Setup Haskell
20+
uses: haskell-actions/setup@v2
21+
if: runner.os == 'macOS'
22+
with:
23+
enable-stack: true
24+
stack-version: 'latest'
25+
1926
- name: Cache Stack dirs (Linux/macOS)
2027
if: runner.os != 'Windows'
2128
uses: ./.github/template/stack-cache

0 commit comments

Comments
 (0)