Skip to content

Commit

Permalink
Bump checkout to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Lefkowitz committed Apr 26, 2024
1 parent cf4496d commit be22733
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 32 deletions.
16 changes: 1 addition & 15 deletions .cspell.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
{
"language": "en",
"ignorePaths": [
".DS_Store",
".git",
".gitignore",
".husky",
".psc-ide-port",
".spago",
".yarn",
"bower_components",
"generated-docs",
"node_modules",
"output",
"yarn-error.log"
],
"dictionaries": [
"aws",
"bash",
Expand All @@ -22,13 +8,13 @@
"misc",
"softwareTerms"
],
"ignorePaths": [".git"],
"words": [
"bumpversion",
"codacy",
"corepack",
"dhall",
"foldl",
"forall",
"giphy",
"joellefkowitz",
"lefkowitz",
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ runs:
node-version: ${{ inputs.node-version }}
cache: yarn

- name: Install node dependencies
- name: Install yarn dependencies
shell: bash
run: yarn install --immutable

- name: Install PureScript dependencies
- name: Install spago dependencies
shell: bash
run: yarn spago install

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/install
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ show decoded

## Tooling

### Dependencies

To install dependencies:

```bash
yarn spago install
```

### Tests

To run tests:
Expand Down Expand Up @@ -124,8 +132,8 @@ bump2version patch

Lots of love to the open source community!

<p align='center'>
<div align='center'>
<img width=200 height=200 src='https://media.giphy.com/media/osAcIGTSyeovPq6Xph/giphy.gif' alt='Be kind to your mind' />
<img width=200 height=200 src='https://media.giphy.com/media/KEAAbQ5clGWJwuJuZB/giphy.gif' alt='Love each other' />
<img width=200 height=200 src='https://media.giphy.com/media/WRWykrFkxJA6JJuTvc/giphy.gif' alt="It's ok to have a bad day" />
</p>
</div>
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"packageManager": "yarn@4.1.1",
"scripts": {
"postinstall": "husky install",
"postinstall": "husky",
"format": "prettier . --write && echo src test | xargs -n1 npx purty --write",
"lint": "cspell . --dot && eslint . --fix --no-error-on-unmatched-pattern && trufflehog3"
"lint": "cspell . --dot --gitignore && eslint . --fix --no-error-on-unmatched-pattern && trufflehog3"
},
"resolutions": {
"string-width": "4.2.3",
Expand Down
9 changes: 0 additions & 9 deletions spago.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ workspace:
- foldable-traversable: ">=5.0.1 <6.0.0"
- ordered-collections: ">=2.0.2 <3.0.0"
- prelude: ">=5.0.1 <6.0.0"
- random: ">=5.0.0 <6.0.0"
- repr: ">=0.4.0 <1.0.0"
- strings: ">=5.0.0 <6.0.0"
- stringutils: ">=0.0.11 <1.0.0"
Expand Down Expand Up @@ -46,7 +45,6 @@ workspace:
- partial
- prelude
- profunctor
- random
- refs
- repr
- safe-coerce
Expand Down Expand Up @@ -818,13 +816,6 @@ packages:
- newtype
- prelude
- tuples
random:
type: registry
version: 6.0.0
integrity: sha256-CJ611a35MPCE7XQMp0rdC6MCn76znlhisiCRgboAG+Q=
dependencies:
- effect
- integers
refs:
type: registry
version: 6.0.0
Expand Down
9 changes: 8 additions & 1 deletion spago.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
package:
name: huffman
description: Huffman coding. Lossless data compression.
private: true
repository: https://github.com/JoelLefkowitz/huffman
homepage: https://joellefkowitz.github.io/huffman
keywords:
- huffman
- compression
- lossless

publish:
version: 0.3.4
license: MIT
Expand All @@ -12,7 +20,6 @@ package:
- foldable-traversable: ">=5.0.1 <6.0.0"
- ordered-collections: ">=2.0.2 <3.0.0"
- prelude: ">=5.0.1 <6.0.0"
- random: ">=5.0.0 <6.0.0"
- repr: ">=0.4.0 <1.0.0"
- strings: ">=5.0.0 <6.0.0"
- stringutils: ">=0.0.11 <1.0.0"
Expand Down

0 comments on commit be22733

Please sign in to comment.