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

Commit

Permalink
Merge pull request #105 from rethab/feat/node-16
Browse files Browse the repository at this point in the history
feat: update to node 16
  • Loading branch information
Jared Weakly committed Apr 19, 2022
2 parents 745062a + b9d18ea commit f7b0997
Show file tree
Hide file tree
Showing 31 changed files with 18,620 additions and 12,151 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/hlint-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
cache: "yarn"
cache-dependency-path: hlint-run/yarn.lock
- run: yarn
- run: yarn compile
- run: yarn package
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/hlint-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
cache: "yarn"
cache-dependency-path: hlint-setup/yarn.lock
- run: yarn
- run: yarn test

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
cache: "yarn"
cache-dependency-path: hlint-setup/yarn.lock
- run: yarn
working-directory: "hlint-setup"
- run: yarn compile
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "12"
node-version: "16"
cache: "npm"
cache-dependency-path: setup/package-lock.json
- run: npm ci --prefer-offline --no-audit --progress=false
- run: npm run bundle
- run: npm test

install-haskell:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# IntelliJ
.idea/
*.iml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Haskell Github Actions
# Haskell GitHub Actions

A Collection of GitHub actions for interacting with Haskell.

Expand Down
6 changes: 3 additions & 3 deletions hlint-run/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ jobs:
hlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: 'Set up HLint'
uses: haskell/actions/hlint-setup@v1
uses: haskell/actions/hlint-setup@v2
with:
version: '3.1.6'

- name: 'Run HLint'
uses: haskell/actions/hlint-run@v1
uses: haskell/actions/hlint-run@v2
with:
path: src/
fail-on: warning
Expand Down
2 changes: 1 addition & 1 deletion hlint-run/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ outputs:
ideas:
description: 'A JSON array of HLint output ideas (errors, warnings, suggestions, and so on)'
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
branding:
icon: 'arrow-down-circle'
Expand Down
Loading

0 comments on commit f7b0997

Please sign in to comment.