Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit f7b0997

Browse files
author
Jared Weakly
authored
Merge pull request #105 from rethab/feat/node-16
feat: update to node 16
2 parents 745062a + b9d18ea commit f7b0997

31 files changed

+18620
-12151
lines changed

.github/workflows/hlint-run.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: "16"
21+
cache: "yarn"
22+
cache-dependency-path: hlint-run/yarn.lock
1823
- run: yarn
1924
- run: yarn compile
2025
- run: yarn package

.github/workflows/hlint-setup.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,23 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v3
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: "16"
21+
cache: "yarn"
22+
cache-dependency-path: hlint-setup/yarn.lock
1823
- run: yarn
1924
- run: yarn test
2025

2126
test:
2227
runs-on: ubuntu-latest
2328
steps:
2429
- uses: actions/checkout@v3
30+
- uses: actions/setup-node@v3
31+
with:
32+
node-version: "16"
33+
cache: "yarn"
34+
cache-dependency-path: hlint-setup/yarn.lock
2535
- run: yarn
2636
working-directory: "hlint-setup"
2737
- run: yarn compile

.github/workflows/workflow.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ jobs:
2424
- uses: actions/checkout@v3
2525
- uses: actions/setup-node@v3
2626
with:
27-
node-version: "12"
27+
node-version: "16"
28+
cache: "npm"
29+
cache-dependency-path: setup/package-lock.json
2830
- run: npm ci --prefer-offline --no-audit --progress=false
31+
- run: npm run bundle
2932
- run: npm test
3033

3134
install-haskell:

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# IntelliJ
2+
.idea/
3+
*.iml

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Haskell Github Actions
1+
# Haskell GitHub Actions
22

33
A Collection of GitHub actions for interacting with Haskell.
44

hlint-run/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ jobs:
4040
hlint:
4141
runs-on: ubuntu-latest
4242
steps:
43-
- uses: actions/checkout@v2
43+
- uses: actions/checkout@v3
4444

4545
- name: 'Set up HLint'
46-
uses: haskell/actions/hlint-setup@v1
46+
uses: haskell/actions/hlint-setup@v2
4747
with:
4848
version: '3.1.6'
4949

5050
- name: 'Run HLint'
51-
uses: haskell/actions/hlint-run@v1
51+
uses: haskell/actions/hlint-run@v2
5252
with:
5353
path: src/
5454
fail-on: warning

hlint-run/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ outputs:
1616
ideas:
1717
description: 'A JSON array of HLint output ideas (errors, warnings, suggestions, and so on)'
1818
runs:
19-
using: 'node12'
19+
using: 'node16'
2020
main: 'dist/index.js'
2121
branding:
2222
icon: 'arrow-down-circle'

0 commit comments

Comments
 (0)